Hi,

On 10.10.2017 13:04, Jesse Pretorius wrote:
On 9/29/17, 7:18 AM, "Thomas Bechtold" <tbecht...@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?

Now the python files are in usr/local which is wrong for distros. It should be usr/

Tom

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to