Fix issue where python packages are installed in the incorrect location

This commit is contained in:
Zachary Seguin 2016-02-20 16:12:06 -05:00
parent 694df1ec47
commit f299412d56
2 changed files with 16 additions and 2 deletions

14
debian/changelog vendored
View 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 library (1.0-2) trusty; urgency=medium
* Resolved crashes * Resolved crashes

4
debian/rules vendored
View File

@ -1,6 +1,6 @@
#!/usr/bin/make -f #!/usr/bin/make -f
build: build:
clean: clean:
dh_testdir dh_testdir
@ -13,7 +13,7 @@ install: build
dh_testdir dh_testdir
dh_testroot dh_testroot
dh_installdirs 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 binary-arch: build install
dh_testdir dh_testdir