python setup.py develop does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I did the following on a fresh ubuntu 12.04 instance:
sudo apt-get update
sudo apt-get -y install python-dev libssl-dev python-pip git-core libxml2-dev libxslt-dev
sudo apt-get -y build-dep python-mysqldb
git clone http://
cd tempest
sudo python setup.py develop
That fails with an error that tells me I have to do:
sudo easy_install -U distribute
I do that and it finishes. I then do:
nosetests -v tempest/
and get
File "/usr/local/
stream = open(path, 'rb')
IOError: [Errno 13] Permission denied: '/usr/local/
This works if I do the nosetests with 'sudo' but it should just work.
I also noticed that 'python setup.py develop' does not install the stuff in rest-requires. Is that expected?
Changed in devstack: | |
status: | Fix Committed → Fix Released |
so isn't this the reason we've got run_tests.sh with the venv creation? I'm not sure that setup.py develop was something that's actually supposed to work. if it is, we should loop in monty.