Comment 11 for bug 1273581

Revision history for this message
Maru Newby (maru) wrote :

Hmm, I see now that the installation deliberately skips installation of the namespace package's init module. I was confused by the fact that manually touching that file seems to fix the problem I'm seeing. As per the bug description, it appears that installing one namespace package as non-editable precludes installing other packages in the same namespace as editable. Can you reproduce the problem with the script that follows?

#/bin/bash -eux
sudo apt-get install -y git python-pip python-virtualenv
virtualenv /tmp/foo_env
cd /tmp/foo_env
git clone https://github.com/openstack/oslo.config.git
. bin/activate
pip install --editable oslo.config
pip install oslo.rootwrap
python -c 'import oslo.config'