Commit 16cb5c0f authored by Yuanle Song's avatar Yuanle Song
Browse files

v0.20.5 "make install" now use pip

The old "setup.py install" will create an egg and install it, which requires a
PYTHON_EGG_CACHE dir to work. pip doesn't build egg at all.
parent 6dba7bd6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
(defproject python/lein-template "0.20.4"
(defproject python/lein-template "0.20.5"
  :description "lein template for a python project"
  :repositories [["snapshots"
                  {:url "http://devserv.game.yy.com/nexus/content/repositories/snapshots"
+2 −2
Original line number Diff line number Diff line
@@ -42,9 +42,9 @@ bootstrap: venv requirements
bootstrap-dev: REQUIREMENTS += $(DEV_REQUIREMENTS)
bootstrap-dev: venv requirements
install: bootstrap
	$(PYTHON) setup.py -q install
	$(PIP) install -q --no-index .
uninstall: bootstrap
	$(PIP) uninstall {{python-pkg-name}}    # TODO not tested.
	$(PIP) uninstall -q -y {{python-pkg-name}}
deb:
	utils/build-deb
pipfreeze: