Gentoo Archives: gentoo-portage-dev

From: Nirbheek Chauhan <nirbheek.chauhan@×××××.com>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] using python in installation scripts
Date: Fri, 17 Apr 2009 06:19:59
Message-Id: 8b4c83ad0904162319o679067e1nf742dff56bacd443@mail.gmail.com
In Reply to: Re: [gentoo-portage-dev] using python in installation scripts by Alec Warner
1 On Fri, Apr 17, 2009 at 11:47 AM, Alec Warner <antarus@g.o> wrote:
2 > Slight caveat, you can do whatever you want as long as it isn't in
3 > global scope.  Putting a python script in FILESDIR or bundling it with
4 > the package is standard procedure, I know a bunch of tcl stuff used to
5 > use tcl to install itself and distutils.eclass for example runs
6 > setup.py to install things, so its nothing new.
7 >
8
9 Or if the script is small, you can do `python - <<<"print help"` etc.
10
11 --
12 ~Nirbheek Chauhan