I am looking to centralize all my package requirements into a single location, preferably a plain text file, to simplify deployment. My application depends on simple to install packages like Flask:
(pythonenv) C:\>pip install flask
and pre-built Windows binary packages like psycopg2 from Stickpeople Project:
(pythonenv) C:\>easy_install psycopg2-2.4.6.win32-py2.7-pg9.2.2-release.exe
pip has a very useful argument for what I want to do:
(pythonenv) C:\>pip install -r python_packages.txt
except that I have yet to find a way to get pip to install the pre-built Windows binaries.
How can I group all my dependent packages into a single location?
Some ways I can think of that would make this possible:
- Does easy_install have a similar way of using files that list packages?
- Is there a way to get pip to install the pre-built binary and include a binary package in a pip requirements file?
I am developing with Python 2.7.3, and I am using virtualenv.