my python project depends on a third-party egg, and i don't want this egg to be installed in my python environment. I can execute my code by adding this egg to my PYTHONPATH at run time, it works well. However, I was wondering if i could include this third party egg into my own egg so that I run my app on other box by deploying 1 single egg file, and without having to explicitly change my PYTHONPATH. any idea? thanks, J.
Asked
Active
Viewed 66 times
0
-
1Why not just include the other egg as a dependency on your egg and run in a virtualenv to avoid having either egg installed to the main python environment? – Duncan Apr 04 '12 at 08:25
-
thanks for your answer Duncan. What you propose is actually what I do have now. I did not want to have a specific virtual env. for this precise project. But you are right, it is probably the best solution. – user1151446 Apr 04 '12 at 13:00