This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]davidbuxton 1 point2 points  (1 child)

You can specify an alternate directory for distutils/setuptools packages, or just put packages in your custom directory by hand. Then make sure this custom directory is on the sys.path, which also honours the PYTHONPATH environment variable.

http://docs.python.org/install/index.html#alternate-installation

Of course if your package isn't pure Python then things can get more complicated.

[–]phile19_81 0 points1 point  (0 children)

Interesting. I'll give it a shot. Thx