[openstack-dev] [packaging][all] Sample Config Files in setup.cfg

Jesse Pretorius Jesse.Pretorius at rackspace.co.uk
Tue Oct 10 11:04:27 UTC 2017


On 9/29/17, 7:18 AM, "Thomas Bechtold" <tbechtold at suse.com> wrote:

>    This will still install the files into usr/etc :

>    $ python setup.py install --skip-build --root /tmp/sahara-install > /dev/null
>    $ ls /tmp/sahara-install/usr/
>    bin  etc  lib

>    It's not nice but packagers can workaround that.

I gave this a try this morning:

$ python setup.py install --skip-build --root /tmp/keystone --install-data /
$ find /tmp/keystone -maxdepth 6 -type d
/tmp/keystone
/tmp/keystone/usr
/tmp/keystone/usr/local
/tmp/keystone/usr/local/bin
/tmp/keystone/usr/local/lib
/tmp/keystone/usr/local/lib/python2.7
/tmp/keystone/usr/local/lib/python2.7/dist-packages
/tmp/keystone/usr/local/lib/python2.7/dist-packages/keystone-12.0.0.0rc2.dev101.egg-info
/tmp/keystone/usr/local/lib/python2.7/dist-packages/keystone
/tmp/keystone/etc
/tmp/keystone/etc/keystone

Is this perhaps useful?


________________________________
Rackspace Limited is a company registered in England & Wales (company registered number 03897010) whose registered office is at 5 Millington Road, Hyde Park Hayes, Middlesex UB3 4AZ. Rackspace Limited privacy policy can be viewed at www.rackspace.co.uk/legal/privacy-policy - This e-mail message may contain confidential or privileged information intended for the recipient. Any dissemination, distribution or copying of the enclosed material is prohibited. If you receive this transmission in error, please notify us immediately by e-mail at abuse at rackspace.com and delete the original message. Your cooperation is appreciated.


More information about the OpenStack-dev mailing list