Re: Alternatives to PythonPath

2011-05-31 Thread Gabriel Genellina

En Sun, 29 May 2011 18:49:28 -0300, ray r...@aarden.us escribió:


I am using Win7 on a tightly locked down desktop.

Is there an alternative to using PythonPath?

What are the trade-offs?


Usually there is no need to define the PYTHONPATH variable; I never use it.
There is a per-user site-packages directory (2.6 and up), on Windows it is  
located at %APPDATA%\Python\PythonXX\site-packages. Every user gets its  
own %APPDATA% directory, with read and write permissions.


--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list


Alternatives to PythonPath

2011-05-29 Thread ray
I am using Win7 on a tightly locked down desktop.

Is there an alternative to using PythonPath?

What are the trade-offs?

Thanks,
ray
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Alternatives to PythonPath

2011-05-29 Thread Irmen de Jong
On 29-5-2011 23:49, ray wrote:
 I am using Win7 on a tightly locked down desktop.
 
 Is there an alternative to using PythonPath?
 

What do you mean by using PythonPath?
What doesn't work that you want to have an alternative for?

Irmen
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Alternatives to PythonPath

2011-05-29 Thread rusi
On May 30, 2:49 am, ray r...@aarden.us wrote:
 I am using Win7 on a tightly locked down desktop.

 Is there an alternative to using PythonPath?

 What are the trade-offs?

 Thanks,
 ray

Externally:
1. PYTHONPATH

2. .pth files
http://bob.pythonmac.org/archives/2005/02/06/using-pth-files-for-python-development/
http://docs.python.org/library/site.html

And of course there the internal sys.path

-- 
http://mail.python.org/mailman/listinfo/python-list