Hi,

If I understand it correctly, 'python setup.py develop' does basically
the same thing as 'python setup.py install', only it links the source
to your site-packages rather than installing it in there. In this
case, setup.py develop will only install tg.devtools if it is listed
in the install_dependencies in setup.py.

I do not think it is correct to place tg.devtools in the package
dependencies because when you deploy the software to a live server
using, for example, Apache and mod_wsgi, you probably do not want to
install tg.devtools, but only the real run-time dependencies. This is
how I run my turbogears projects, but you may need to deploy in a
different way and may need tg.devtools for another reason. I don't
know why 'paster serve' requires tg.devtools, that sounds a bit odd to
me, but maybe somebody else can point out what is going on here.

Regards,
Simon

On Nov 29, 8:29 pm, steve <[email protected]> wrote:
> is this the right place to report bugs?
>
> 1) i started a vanilla turbogears project with 'paster quickstart -a -
> s testproject'.
> 2) i then set up the virtualenv for it an activating it, and run
> 'python setup.py develop' and it does its thing and install all the
> packages and dependencies within setup.py.
> 3) i tried to run 'paster serve --reload development.ini', but it says
> 'pkg_resources.DistributionNotFound: Not Found: tg.devtools (did you
> run python setup.py develop?)'.
>
> tg.devtools doesn't get installed by 'python setup.py develop'.  i
> tried to run the command again and it's still not installed within my
> virtualenv's site packages.  i had to run easy_install tg.devtools
> before i could successfully start paster serve.

--

You received this message because you are subscribed to the Google Groups 
"TurboGears" 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?hl=en.


Reply via email to