At 09:20 PM 10/16/2005 -0400, Kevin Dangoor wrote: >On 10/16/05, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > > At 07:56 PM 10/16/2005 -0400, Kevin Dangoor wrote: > > >TurboGears quickstart now does an "egg_info" on the newly-created > > >project. Someone just reported that he got a "Connection Refused" > > >exception and was reasonably wondering why it needed to hit the net in > > >order to start a new project. > > > > It's not egg_info that's the problem. The issue is running a setup.py that > > has a 'setup_requires' argument. If the required thing isn't installed, > > then setup.py goes looking for it. It just so happens in this case that > > 'egg_info' is the command, but you could've run 'setup.py --help' and the > > same thing would happen. You should make sure that tg-admin quickstart > > installs any setup_requires targets that are in the quickstart template, or > > else this will happen with every new project. > >I believe TurboGears itself has the same setup_requires. Wouldn't >installing TurboGears itself get you the required package?
setup_requires never causes anything to be *installed* on the target system. It's just downloaded to the project directory so the setup script can use it. It sounds like you need to also list it in TurboGears' "install_requires" in this case. Then it'll be installed on the system, and new projects won't need to download it. _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
