Fix issue where python packages are installed in the incorrect location
authorZachary Seguin <ztseguin@csclub.uwaterloo.ca>
Sat, 20 Feb 2016 21:12:06 +0000 (16:12 -0500)
committerZachary Seguin <ztseguin@csclub.uwaterloo.ca>
Sat, 20 Feb 2016 21:12:06 +0000 (16:12 -0500)
debian/changelog
debian/rules

index 4df2f29..22ca886 100644 (file)
@@ -1,3 +1,17 @@
+library (1.0-3jessie0) jessie; urgency=medium
+
+  * Modify build parameters so that library is installed in dist-packages
+    instead of site-packages
+
+ -- Zachary Seguin <ztseguin@csclub.uwaterloo.ca>  Sat, 20 Feb 2016 15:49:14 -0500
+
+library (1.0-2trusty0) trusty; urgency=medium
+
+  * Modify build parameters so that library is installed in dist-packages
+    instead of site-packages
+
+ -- Zachary Seguin <ztseguin@csclub.uwaterloo.ca>  Sat, 20 Feb 2016 15:49:14 -0500
+
 library (1.0-2) trusty; urgency=medium
 
   * Resolved crashes
index 6182178..b40a1a3 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-build: 
+build:
 
 clean:
        dh_testdir
@@ -13,7 +13,7 @@ install: build
        dh_testdir
        dh_testroot
        dh_installdirs
-       python3 setup.py  -q build --build-base=build-library  install --no-compile -O0 --prefix=/usr --root=debian/library
+       python3 setup.py  -q build --build-base=build-library  install --no-compile -O0 --install-layout=deb --root=debian/library
 
 binary-arch: build install
        dh_testdir