Loading project.clj +1 −1 Original line number Diff line number Diff line (defproject python/lein-template "1.9.4" (defproject python/lein-template "1.10.0" :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 +3 −2 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ PYLINT := env PYTHONPATH=$(PYTHONPATH) $(VENV)/bin/pylint --disable=I0011 --msg- PEP8 := env PYTHONPATH=$(PYTHONPATH) $(VENV)/bin/pycodestyle --repeat --ignore=E202,E501,E402,W503,W504,E122,E129 PYTHON := env PYTHONPATH=$(PYTHONPATH) $(VENV)/bin/python PIP := $(VENV)/bin/pip PYPI_MIRROR ?= https://mirrors.aliyun.com/pypi/simple # required system packages when installing python dependencies #DEV_PKGS := python3-dev libpq-dev Loading Loading @@ -54,11 +55,11 @@ requirements: @if [ -d wheelhouse ]; then \ $(PIP) install -q --isolated --no-index --find-links=wheelhouse $(REQUIREMENTS); \ else \ $(PIP) install -q $(REQUIREMENTS); \ $(PIP) install -q -i $(PYPI_MIRROR) $(REQUIREMENTS); \ fi requirements-dev: ./utils/ensure_pkg_installed $(DEV_PKGS) $(PIP) install -q $(REQUIREMENTS_DEV) $(PIP) install -q -i $(PYPI_MIRROR) $(REQUIREMENTS_DEV) logdir: @if [ ! -d /var/log/{{name}} ]; then \ sudo mkdir /var/log/{{name}}; \ Loading Loading
project.clj +1 −1 Original line number Diff line number Diff line (defproject python/lein-template "1.9.4" (defproject python/lein-template "1.10.0" :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 +3 −2 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ PYLINT := env PYTHONPATH=$(PYTHONPATH) $(VENV)/bin/pylint --disable=I0011 --msg- PEP8 := env PYTHONPATH=$(PYTHONPATH) $(VENV)/bin/pycodestyle --repeat --ignore=E202,E501,E402,W503,W504,E122,E129 PYTHON := env PYTHONPATH=$(PYTHONPATH) $(VENV)/bin/python PIP := $(VENV)/bin/pip PYPI_MIRROR ?= https://mirrors.aliyun.com/pypi/simple # required system packages when installing python dependencies #DEV_PKGS := python3-dev libpq-dev Loading Loading @@ -54,11 +55,11 @@ requirements: @if [ -d wheelhouse ]; then \ $(PIP) install -q --isolated --no-index --find-links=wheelhouse $(REQUIREMENTS); \ else \ $(PIP) install -q $(REQUIREMENTS); \ $(PIP) install -q -i $(PYPI_MIRROR) $(REQUIREMENTS); \ fi requirements-dev: ./utils/ensure_pkg_installed $(DEV_PKGS) $(PIP) install -q $(REQUIREMENTS_DEV) $(PIP) install -q -i $(PYPI_MIRROR) $(REQUIREMENTS_DEV) logdir: @if [ ! -d /var/log/{{name}} ]; then \ sudo mkdir /var/log/{{name}}; \ Loading