开发者

Best Practices in Handling Modules Prerequisites

Recently I started working on a personal project in my notebook that, all going OK, it will be placed in a server elsewhere. The problem is that I make use of modules. Some were installed from apt-get, others from easy_install and one or two of those were placed directly under a subdirectory since I changed them a bit. My question is: i开发者_StackOverflows there a way to move all those things together? Moreover, I don't want any of those modules being updated since it may break something. How to handle that?

Finally, I'm pretty sure that I've done things the wrong way since the beginning. How do you guys work to avoid those problems?


Have a look at virtualenv. Virtualenv is a tool to create isolated Python environments.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜