From 2b4ac618af82e3c7c2ce022fef0682cb526984b6 Mon Sep 17 00:00:00 2001 From: Yuanle Song Date: Sat, 23 Feb 2019 23:41:30 +0800 Subject: [PATCH] v1.4.1 make "make bootstrap" runs totally offline. when install from deb that contains wheelhouse, do not touch network, do not read user's pip configuration, which may include extra find-links option, which in turn result in network requests. After adding --isolated option, "make bootstrap" runs totally offline. --- project.clj | 2 +- src/leiningen/new/python/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/project.clj b/project.clj index 9867fad..f52783d 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject python/lein-template "1.4.0" +(defproject python/lein-template "1.4.1" :description "lein template for a python project" :repositories [["snapshots" {:url "http://devserv.game.yy.com/nexus/content/repositories/snapshots" diff --git a/src/leiningen/new/python/Makefile b/src/leiningen/new/python/Makefile index fdfac18..654b97f 100644 --- a/src/leiningen/new/python/Makefile +++ b/src/leiningen/new/python/Makefile @@ -37,7 +37,7 @@ venv: test -d $(VENV) || $(DEFAULT_PYTHON) $(VIRTUALENV) --no-download -q $(VENV) requirements: @if [ -d wheelhouse ]; then \ - $(PIP) install -q --no-index --find-links=wheelhouse $(REQUIREMENTS); \ + $(PIP) install -q --isolated --no-index --find-links=wheelhouse $(REQUIREMENTS); \ else \ $(PIP) install -q $(REQUIREMENTS); \ fi -- GitLab