Hi, I have a development workflow question I was wondering if people on this list had a recommended solution for.
Say you're working on a web application that you deploy using a requirements.txt file. And say you have a set of "abstract dependencies" that your application depends on. What are some convenient ways of storing your abstract dependencies in source control and periodically generating an updated requirements file from that information (e.g. when your dependencies come out with new versions)? The main idea that occurs to me is making a setup.py for the purposes of representing your abstract dependencies (e.g. using "install_requires," etc), creating a new virtualenv, running "pip install .", and then "pip freeze." One problem with this approach is that the pip freeze output includes an entry for the setup.py application itself, when the output should only include the _dependencies_ of the application and not the application itself. It also seems clunky to me to create a virtualenv and install dependencies only for the purposes of computing dependencies. Thanks for any help or suggestions. --Chris _______________________________________________ Distutils-SIG maillist - [email protected] https://mail.python.org/mailman/listinfo/distutils-sig
