On 01/14/2011 10:23 PM, Rob Miller wrote:
On 01/14/2011 07:05 PM, webjunkie wrote:
I'm in the process of deploying my app, and when I take a look at setup.py I
see that the install_requires section only has Pylons and SQLAlchemy but I've
been installing other components through easy install like
turbomail,repoze.who, etc. Why they don't show up in the install_requires
section?, do I have to type them manually?, is there a way to update
install_requires in setup.py when you add new components?.
as mentioned, your project's setup.py doesn't get automatically updated,
tracking dependencies is primarily a manual process.
however, if you've got a virtualenv that has only your requirements installed,
you can use "pip freeze" to generate a list of the installed packages. then
you can either use this as a requirements file for future installs w/ pip, or
you can extract the pertinent package info and put it into your package's
setup.py.
whoops, meant to include this url:
http://pip.openplans.org/#freezing-requirements
-r
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.