Comment 8 for bug 803186

Revision history for this message
Jay Pipes (jaypipes) wrote : Re: [Bug 803186] Re: possible_topdir removed from nova-api

On Wed, Jun 29, 2011 at 8:26 AM, Brian Lamar <email address hidden> wrote:
> Ok, sounds like I'm in the extreme minority here, but I'll just say that
> you don't have to run "setup.py develop" every time you edit code.
> You'll only need to run it when you switch branches.

You're not the only one. It annoys the crap out of me to have all the
"possible topdir" stuff all over the bins (and in Keystone, all over
various random modules in the codebase).

I know of not a single other Python library or project that does this.

> Run setup.py develop and that will be your primary Nova python package
> until you run 'develop' elsewhere.
>
> To have this code in production is dangerous and unecessary in my
> opinion. Why risk running a different version of Nova than the one
> installed in production?
>
> $ export PYTHONPATH=.
>
> This does the exact same thing without any setup.py magic or code
> editing.

++

-jay