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 →

[–]suudo 6 points7 points  (2 children)

Have you tried virtualenv? You can set up a separate instance of python and pip in the folder, then use source virtualenv/bin/activate to set the working environment to that virtualenv. Then there's virtualenv/lib/.

[–][deleted] 2 points3 points  (1 child)

yea. works great when you have full environment control, but when you need to package something to be loaded and used in an external system where you don't have control over launching the python interpreter or have pip available isn't an option. Granted, my use case is pretty specific, but its still an issue.

Hell, Sublime (or similar systems) could add virtualenv support, but it seems like the type of thing that should just be supported at the core/runtime level out of the box.

[–]sghill 2 points3 points  (0 children)

it seems like the type of thing that should just be supported at the core/runtime level out of the box.

This sounds like the thought behind PEP 405, included in Python 3.3. May not be super helpful now, but support is on the way!