rrb_bbr
rrb_bbr

Reputation: 3056

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: is 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?

Upvotes: 2

Views: 81

Answers (1)

Reto Aebersold
Reto Aebersold

Reputation: 16644

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

Upvotes: 2

Related Questions