Yea, that should be setup.py develop. And yes, you need to run setup.py develop after a quickstart in order to get some dependencies that are not required by TG itself, but which are nessisary for the quickstarted app (you could edit those features out and not include those dependencies if you wanted to).
We should also clean up that test to make sit more clear that this is a required step. --Mark Ramm On Wed, Mar 25, 2009 at 10:26 AM, sffjunkie <[email protected]> wrote: > > I have one small problem on Windows XP, Python 2.5.2 > > Running ``paster setup-app`` throws a > ``pkg_resources.DistributionNotFound: zope.sqlalchemy>=0.4`` error on > a new quickstarted project. > > Should ``zope.sqlalchemy`` not get added by the install command? > > Or should the ``python setup.py development`` command as specified in > the ``Quickstarting a TurboGears 2 project`` doc install > ``zope.sqlalchemy``:: > > The setup.py file has a section which explicitly declares the > dependencies > of your application. The quickstart template has a few built in > dependencies, > and as you add new python libraries to your application’s stack, > you’ll want to > add them here too. > > Then in order to make sure all those dependencies are installed you > will want to run: > > $ python setup.py development > > Which appears as I've not added any other dependencies to indicate I > shouldn't need to run the command, but I still get the error. > > Would the ``python setup.py development`` command have installed > ``zope.sqlalchemy``? because that also throws an error so I don't know > for sure > > (tg2rc1) D:\F>python setup.py development > d:\Python25\Lib\distutils\dist.py:263: UserWarning: Unknown > distribution option: 'message_extractors' > warnings.warn(msg) > usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 > [cmd2_opts] ...] > or: setup.py --help [cmd1 cmd2 ...] > or: setup.py --help-commands > or: setup.py cmd --help > > Actually that appears to be a doc error. Should it not be... > > ``python setup.py develop`` > > Regards > Simon Kennedy > > On Mar 24, 10:54 am, Mark Ramm <[email protected]> wrote: >> >>http://turbogears.org/2.0/docs/main/DownloadInstall.html >> >> > Those instructions reference downloads/current which has been removed. It >> > presumably should refer to downloads/2.0rc1 instead. >> >> The current directory was accidentally linked to a non-existant rc >> (without the 1) directory, which apparently produces no errors but >> also does not work. I've fixed that, and all is good with the normal >> download instructions again. >> >> Thanks for the quick catch. >> >> --Mark > > > -- Mark Ramm-Christensen email: mark at compoundthinking dot com blog: www.compoundthinking.com/blog --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
