python question

Jeff Macdonald macfisherman at gmail.com
Thu Jul 31 10:27:59 EDT 2008


On Thu, Jul 31, 2008 at 8:16 AM, Ted Roche <tedroche at tedroche.com> wrote:
> Jeff Macdonald wrote:
>> it has been ages since I've played with python. Is there an equivalent
>> way to do this perl command in python with a 3rd party module?
>>
>> $ perl Makefile.PL PREFIX=/home/jeff/projects/program/lib
>>
>> All is can find is:
>>
>> $ python setup.py install
>>
>>
>
> Jeff:
>
> If your purpose is to create a "private stash" of python modules, rather
> than installing a new module to the standard location, you can usually
> do it with an option like:
>
> python setup.py install --home=<dir>
>
> assuming that the Python module uses the standard DistUtils installer.
>
> See:
>
> http://docs.python.org/inst/alt-install-windows.html#SECTION000310000000000000000
>
> and parent document:
>
> http://docs.python.org/inst/inst.html
>
> for more details and variations.
>


Thanks Ted!

-- 
Jeff Macdonald
Ayer, MA


More information about the gnhlug-discuss mailing list