]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Installing everything correctly.
authorThomas Goirand <thomas@goirand.fr>
Fri, 2 Aug 2013 12:22:50 +0000 (14:22 +0200)
committerThomas Goirand <thomas@goirand.fr>
Fri, 2 Aug 2013 12:29:00 +0000 (14:29 +0200)
debian/rules

index b08b93b66a80946de86311119623843fd42feb3d..148c8289824c7dc651491a687428d43cc0e50552 100755 (executable)
@@ -22,7 +22,10 @@ override_dh_auto_install:
 
 override_dh_install:
        set -e ; for pyvers in $(PYTHONS) ; do \
+               python$$pyvers setup.py install --install-layout=deb --root=$(CURDIR)/debian/neutron-common ; \
                python$$pyvers setup.py install --install-layout=deb --root=$(CURDIR)/debian/tmp ; \
+               mkdir -p $(CURDIR)/debian/python-neutron/usr/lib/python$$pyvers/dist-packages ; \
+               cp -auxf neutron $(CURDIR)/debian/python-neutron/usr/lib/python$$pyvers/dist-packages ; \
        done
        dh_install -O--buildsystem=python_distutils --fail-missing -X/usr/etc -X/usr/bin