Loading project.clj +1 −1 Original line number Diff line number Diff line (defproject python/lein-template "1.11.0" (defproject python/lein-template "1.11.1" :description "lein template for a python project" :url "https://gitlab.emacsos.com/sylecn/python-project-template" :license {:name "Apache License 2.0" Loading src/leiningen/new/python/Makefile +9 −8 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ shell: $(VENV)/runtime-venv-ready: $(REQUIREMENTS) test -d "$(VENV)/bin" || $(DEFAULT_PYTHON) $(VIRTUALENV) --no-download -q "$(VENV)" @if [ -d "$(WHEELHOUSE)" ]; then \ @if [ -e "$(WHEELHOUSE)/ready" ]; then \ $(PIP) install -q --isolated --no-index --find-links="$(WHEELHOUSE)" -r $(REQUIREMENTS); \ else \ $(PIP) install -q -i $(PYPI_MIRROR) -r $(REQUIREMENTS); \ Loading Loading @@ -87,13 +87,14 @@ deb: utils/build-deb pipfreeze: $(PIP) freeze $(WHEELHOUSE)/ready: $(REQUIREMENTS) test -d "$(VENV)/bin" || $(DEFAULT_PYTHON) $(VIRTUALENV) --no-download -q "$(VENV)" @echo "building wheelhouse in $(WHEELHOUSE)..." $(PIP) install wheel $(PIP) wheel -w wheelhouse -r $(REQUIREMENTS) touch "$(WHEELHOUSE)/ready" wheel: $(WHEELHOUSE)/ready wheel: $(REQUIREMENTS) if [ ! -f "$(WHEELHOUSE)/ready" ]; then \ test -d "$(VENV)/bin" || $(DEFAULT_PYTHON) $(VIRTUALENV) --no-download -q "$(VENV)"; \ @echo "building wheelhouse in dir $(WHEELHOUSE)..."; \ $(PIP) install wheel; \ $(PIP) wheel -w $(WHEELHOUSE) -r $(REQUIREMENTS); \ touch "$(WHEELHOUSE)/ready"; \ fi check: just-test sanity-check: bootstrap $(PYTHON) {{python-pkg-name}}/sanity_check.py Loading src/leiningen/new/python/utils/build-deb +5 −1 Original line number Diff line number Diff line Loading @@ -13,10 +13,14 @@ build_dest_dir() { fi rm -rf "$DEST" mkdir -p "${DEST}${DEST_DIR}" for f in Makefile README.rst setup.py requirements*.txt wheelhouse conf $PYTHON_MODULES for f in Makefile README.rst setup.py requirements*.txt conf $PYTHON_MODULES do cp -al "$PWD/$f" "${DEST}${DEST_DIR}/$f" done # in docker based build, wheelhouse/ could be in a different device, # can't use hard link. cp -ar "$PWD/wheelhouse" "${DEST}${DEST_DIR}/" # mkdir -p ${DEST}/etc/systemd/system/ # cp $PWD/conf/web.service ${DEST}/etc/systemd/system/{{name}}.service Loading Loading
project.clj +1 −1 Original line number Diff line number Diff line (defproject python/lein-template "1.11.0" (defproject python/lein-template "1.11.1" :description "lein template for a python project" :url "https://gitlab.emacsos.com/sylecn/python-project-template" :license {:name "Apache License 2.0" Loading
src/leiningen/new/python/Makefile +9 −8 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ shell: $(VENV)/runtime-venv-ready: $(REQUIREMENTS) test -d "$(VENV)/bin" || $(DEFAULT_PYTHON) $(VIRTUALENV) --no-download -q "$(VENV)" @if [ -d "$(WHEELHOUSE)" ]; then \ @if [ -e "$(WHEELHOUSE)/ready" ]; then \ $(PIP) install -q --isolated --no-index --find-links="$(WHEELHOUSE)" -r $(REQUIREMENTS); \ else \ $(PIP) install -q -i $(PYPI_MIRROR) -r $(REQUIREMENTS); \ Loading Loading @@ -87,13 +87,14 @@ deb: utils/build-deb pipfreeze: $(PIP) freeze $(WHEELHOUSE)/ready: $(REQUIREMENTS) test -d "$(VENV)/bin" || $(DEFAULT_PYTHON) $(VIRTUALENV) --no-download -q "$(VENV)" @echo "building wheelhouse in $(WHEELHOUSE)..." $(PIP) install wheel $(PIP) wheel -w wheelhouse -r $(REQUIREMENTS) touch "$(WHEELHOUSE)/ready" wheel: $(WHEELHOUSE)/ready wheel: $(REQUIREMENTS) if [ ! -f "$(WHEELHOUSE)/ready" ]; then \ test -d "$(VENV)/bin" || $(DEFAULT_PYTHON) $(VIRTUALENV) --no-download -q "$(VENV)"; \ @echo "building wheelhouse in dir $(WHEELHOUSE)..."; \ $(PIP) install wheel; \ $(PIP) wheel -w $(WHEELHOUSE) -r $(REQUIREMENTS); \ touch "$(WHEELHOUSE)/ready"; \ fi check: just-test sanity-check: bootstrap $(PYTHON) {{python-pkg-name}}/sanity_check.py Loading
src/leiningen/new/python/utils/build-deb +5 −1 Original line number Diff line number Diff line Loading @@ -13,10 +13,14 @@ build_dest_dir() { fi rm -rf "$DEST" mkdir -p "${DEST}${DEST_DIR}" for f in Makefile README.rst setup.py requirements*.txt wheelhouse conf $PYTHON_MODULES for f in Makefile README.rst setup.py requirements*.txt conf $PYTHON_MODULES do cp -al "$PWD/$f" "${DEST}${DEST_DIR}/$f" done # in docker based build, wheelhouse/ could be in a different device, # can't use hard link. cp -ar "$PWD/wheelhouse" "${DEST}${DEST_DIR}/" # mkdir -p ${DEST}/etc/systemd/system/ # cp $PWD/conf/web.service ${DEST}/etc/systemd/system/{{name}}.service Loading