From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LuhQc-0000ew-QE for garchives@archives.gentoo.org; Fri, 17 Apr 2009 06:19:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D680E07FB; Fri, 17 Apr 2009 06:19:58 +0000 (UTC) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.187]) by pigeon.gentoo.org (Postfix) with ESMTP id A2A18E07FB for ; Fri, 17 Apr 2009 06:19:57 +0000 (UTC) Received: by ti-out-0910.google.com with SMTP id b6so461227tic.10 for ; Thu, 16 Apr 2009 23:19:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=kndbluq9zc8n67GwxLYfd+NqbUmv2DidAqvPA1B6ofI=; b=OYuDqNqneejiUZ3c7OcA6CIGomgB3Re6f6vSw93R/AwVI1dHxzK05Tw4aCyz/ooA1r g9J0849k3GX7hHWHkj9sfXHTxzKJe7klCHX/sIv7OGM0grpetP9abzNNVhpAjRZvJpbM zTvATkjXZ/FKYDbmrd5hXCqb8zftUiL5gIg9Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=nrxLFzrQOSlRdzWhMPC9o/fT3dOszU+Vraj8fUlQ23i9UXnaD6Lh2PWZ+drSDBJpXM TKDNeRhJcGVhWgdSOteIBXOEnU64+ynoxxf1N24c4DG9RltARox4J3QRAge5e631hL4j 0DWG+6PPhuHdVwaBcd/kD7hIszXeJYrlRHLgw= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.110.8.5 with SMTP id 5mr2437178tih.27.1239949196470; Thu, 16 Apr 2009 23:19:56 -0700 (PDT) In-Reply-To: References: <49E6E460.4070804@oversi.com> <49E6E982.4060306@gentoo.org> Date: Fri, 17 Apr 2009 11:49:56 +0530 Message-ID: <8b4c83ad0904162319o679067e1nf742dff56bacd443@mail.gmail.com> Subject: Re: [gentoo-portage-dev] using python in installation scripts From: Nirbheek Chauhan To: gentoo-portage-dev@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 46218cdd-0be2-4fb0-a302-94bda01be995 X-Archives-Hash: 3169f6362ccc8deb4d85704e900357f7 On Fri, Apr 17, 2009 at 11:47 AM, Alec Warner wrote: > Slight caveat, you can do whatever you want as long as it isn't in > global scope. =A0Putting a python script in FILESDIR or bundling it with > the package is standard procedure, I know a bunch of tcl stuff used to > use tcl to install itself and distutils.eclass for example runs > setup.py to install things, so its nothing new. > Or if the script is small, you can do `python - <<<"print help"` etc. --=20 ~Nirbheek Chauhan