Hello,

 

I'm curious to know if there is a means available to control the location in
which bytecode files are generated.

 

It seems that for some types of user accounts (specifically regular users,
not superusers or admins) MS Windows will not allow writes to the C:\Program
Files directory.  As a result, .py source files cannot be located in
C:\Program Files because the .pyc files cannot be generated there.

Up to now we have been installing the Python code in another directory; we'd
like to move away from this if we can.

 

Is anyone aware of a workaround that would address this issue?  Skip
Montonaro raised a suggestion in 2003 (PEP304) that looked promising but it
never generated much interest.

 

Thank you for your help,

 

Alan Nichols

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

Reply via email to