Merge lp:~soren/nova/run-from-checkout into lp:~hudson-openstack/nova/trunk
Proposed by
Soren Hansen
Status: | Merged |
---|---|
Approved by: | Vish Ishaya |
Approved revision: | 266 |
Merged at revision: | 270 |
Proposed branch: | lp:~soren/nova/run-from-checkout |
Merge into: | lp:~hudson-openstack/nova/trunk |
Diff against target: |
220 lines (+99/-4) 10 files modified
bin/nova-api (+10/-0) bin/nova-api-new (+11/-0) bin/nova-compute (+11/-0) bin/nova-dhcpbridge (+7/-4) bin/nova-import-canonical-imagestore (+8/-0) bin/nova-instancemonitor (+10/-0) bin/nova-manage (+9/-0) bin/nova-network (+11/-0) bin/nova-objectstore (+11/-0) bin/nova-volume (+11/-0) |
To merge this branch: | bzr merge lp:~soren/nova/run-from-checkout |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vish Ishaya (community) | Approve | ||
termie (community) | Approve | ||
Review via email: mp+34842@code.launchpad.net |
Description of the change
It's annoying and confusing to have to set PYTHONPATH to point to your
development tree before you run any of the scripts.
If you're lucky, it just fails (because you don't have nova in the default
search path (i.e. don't have them installed in /usr/lib/blah)) so that you can
fix it up.
If you're less lucky, you spend at least a couple of minutes wondering
why the cool changes you made to one of the nova modules don't take effect
until you realise it's because it's using the nova stuff in /usr/lib.
So, to save myself (and probably others) a bit of time, this patch adds
a snippet to each of the scripts in bin/ to detect this and set up the PYTHONPATH.
To post a comment you must log in.
lgtm