Ask Your Question

DevStack directories in PYTHONPATH

asked 2015-06-04 02:33:05 -0600

uts9 gravatar image

DevStack has added /opt/stack/* to my PYTHONPATH. Want to know in which script all these directories are added to the PYTHONPATH. I did find anything in .bash_profile/.bashrc/profile.

['/opt/stack', '/opt/stack/keystone', '/opt/stack/swift', '/opt/stack/glance', '/opt/stack/cinder', '/opt/stack/neutron', '/opt/stack/nova', '/opt/stack/horizon', '/opt/stack/heat', '/opt/stack/trove', '/opt/stack/sahara', '/opt/stack/ceilometer', '/opt/stack/src/jedi', '/opt/stack', '/usr/share/pyshared', '/usr/lib/python2.7', ]
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-09-17 22:49:03 -0600

I use Ubuntu14, the following file add the /opt/stack/* to PYTHONPATH : /usr/local/lib/python2.7/dist-packages/easy-install.pth

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-06-04 02:33:05 -0600

Seen: 316 times

Last updated: Sep 17 '15