Pior Bastida avatar Pior Bastida committed 3e76032

packaging: always use pip to build deb

Comments (0)

Files changed (2)

Empty file removed.

 
 DEB_VENV=$(DEB_SOURCE_PACKAGE)
 
-ifneq ($(wildcard debian/pip-ok),)
-	INSTALLCMD = pip install .
-else
-	INSTALLCMD = python setup.py install
-endif
-
 TEMPLATES := $(patsubst %.in,%,$(wildcard debian/*.in) $(wildcard debian/.*.in))
 
 
 	$(DEB_VENV)/bin/easy_install debian/gevent-1.0rc1-py2.7-linux-x86_64.egg
 
 	@echo "*** Python packages installation (Application) ***"
-	$(DEB_VENV)/bin/$(INSTALLCMD)
+	$(DEB_VENV)/bin/pip install .
 
 	@echo "*** Make virtualenv relocatable ***"
 	debian/virtualenv.py -p python2.7 --relocatable $(DEB_VENV)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.