When using a project in Python, there is not enough Library and an error occurs, or the version is different and an error occurs (?), So create something like Ruby's Gemfile and need the required Library and Version. I tried to find out if there was something that could be managed in one shot.
Get to the link python equivalent of a ruby gemfile (http://stackoverflow.com/questions/19280249/python-equivalent-of-a-ruby-gem-file)
pip install mypackage
requirements.txt
django==1.5
fabric>1.2
South==0.7.3
pip install -r requirements.txt
Then you can install what you wrote!
With this, I was able to do what I wanted to do.
It's a little too easy, but if I'm using it and have something to add, I'll add it each time.
https://pip.pypa.io/en/stable/reference/pip_freeze/
pip freeze> requirements.txt
http://stackoverflow.com/questions/19280249/python-equivalent-of-a-ruby-gem-file
Recommended Posts