"John Ladasky" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
| On Windows I found a solution that works, but which may be a kludge.
| In the Python "site-packages" folder, I added a sub-folder called "my-
| packages".  Then I created a text file, "my-packages.pth", containing
| the single line, "my-packages."  Finally, I moved my common personal
| modules into the my-packages folder and deleted all of my clumsy
| duplicates.  Import statements now work for all of my files on the
| Windows box, great!
|
| I then tried to use this same strategy in Linux, and saw that I don't
| automatically have the privileges needed to alter the site-packages
| folder.  On my Windows box, my default account has Administrator
| privileges.

If you do the Windows install for all users, all users can add packages to 
site-packages -- as long as adding the package directory comprises the 
whole installation process and no registry fiddling is required. 



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

Reply via email to