On 2011-01-14 19:05:31 -0800, webjunkie said:
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?
Because after creation that file is never modified in an automated way.
do I have to type them manually?
Yes.
is there a way to update install_requires in setup.py when you add new
components?
In theory you could write a small script that is used in place of
easy_install (or pip) that parses the arguments, determines the
package(s) you are installing, and uses some regex filters to
re-process your setup.py file. That's a little unsavory, though.
Manually updating setup.py's dependancy list is "one of those things"
you get used to doing automatically.
- Alice.
P.s. always nice to hear of another TurboMail user, BTW. ;)
--
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.