[magics] 39/63: Call setup.py to install python stuff

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Mar 24 10:41:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch debian/master
in repository magics.

commit 909ca88d1e472678e5e50b0b59e9bcf86bb46b4e
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Tue Nov 1 02:23:04 2016 +0000

    Call setup.py to install python stuff
---
 debian/rules | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 7be5155..b5db3fb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -117,10 +117,12 @@ override_dh_auto_test check:
 	#	export MAGPLUS_HOME=$(CURDIR) ; $(MAKE) -C debian/build-py3  check )
 
 override_dh_auto_install:
-	$(MAKE) -C debian/build-py3/python clean install PYTHON_INCLUDE_DIR=/usr/include/python3.5 \
-			DESTDIR=$(CURDIR)/debian/python3-magics++ \ MAGPLUS_HOME=$(CURDIR) 
-	$(MAKE) -C debian/build-py2/python clean install PYTHON_INCLUDE_DIR=/usr/include/python2.7 \
-			DESTDIR=$(CURDIR)/debian/python-magics++ \ MAGPLUS_HOME=$(CURDIR) 
+	(cd  debian/build-py3/python && python2 ./setup.py install --prefix=$(CURDIR)/debian/tmp/usr )
+	(cd  debian/build-py3/python && python3 ./setup.py install --prefix=$(CURDIR)/debian/tmp/usr )
+	#$(MAKE) -C debian/build-py3/python clean install PYTHON_INCLUDE_DIR=/usr/include/python3.5 \
+	#		DESTDIR=$(CURDIR)/debian/python3-magics++ \ MAGPLUS_HOME=$(CURDIR) 
+	#$(MAKE) -C debian/build-py2/python clean install PYTHON_INCLUDE_DIR=/usr/include/python2.7 \
+	#		DESTDIR=$(CURDIR)/debian/python-magics++ \ MAGPLUS_HOME=$(CURDIR) 
 	dh_auto_install --builddirectory=debian/build-py3
 	# Move lib stuff
 	mkdir -p debian/tmp/$(LIBDIR)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/magics.git



More information about the debian-science-commits mailing list