In what cases would you add something you've put in setup.py into one of pyramid.includes or config.include()? I see that my sample applications work fine even though some of the things specified in setup.py haven't been 'included' (relatively new to Python).
On Saturday, September 6, 2014 7:48:50 PM UTC+2, Wichert Akkerman wrote: > > > > On 06 Sep 2014, at 14:20, pyramidX <[email protected] <javascript:>> > wrote: > > > > I'm not sure what the difference is between the requires statement in > setup.py and the pyramid.includes statement in development.ini and the > config.include("...") in __init__.py. > > The requires statement in setup.py tells the Python packaging system > (pip/easy_install/buildout/etc.) that in order to use your package another > package must be installed. This is always needed. > > The pyramid.includes statement in your .ini file and config.include() do > exactly the same thing; which one you us is completely up to your personal > preference. > > Wichert. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
