22
33# CHANGES:
44# 1.10.0 - 2025-10-16 - Removed coverage, updated dependencies.
5- # 1.9.0 - Use coverage tool directly to generate coverage
6- # reports.
7- # - wheel and pip updates
8- # - Use pre-compiled binary wheel for cryptography
9- # - Remove Travis references
10- # 1.8.0 - 2019-10-21 - Don't run flake8 on local_settings.py
11- # 1.7.0 - 2018-05-31 - Now using python 3 by default
12- # - Removed virtualenv.py in favor of python 3's
13- # builtin venv capability.
14- # 1.6.0 - 2017-09-05 - add bandit secure analysis configuration
15- # 1.5.0 - 2017-08-24 - remove jshint/jscs in favor of eslint
16- # 1.4.0 - 2017-06-06 - backout the switch to eslint. that's not really ready yet.
17- # 1.3.0 - 2017-06-05 - pypi location is not needed anymore
18- # 1.2.0 - 2016-12-15 - bump wheel version to 0.29
19- # 1.1.0 - 2016-11-08 - run flake8 tests before unit tests
20- # 1.0.1 - 2016-05-02 - Remove deprecated syncdb command from make install
5+ # 1.9.0 - Use coverage tool directly to generate coverage
6+ # reports.
7+ # - wheel and pip updates
8+ # - Use pre-compiled binary wheel for cryptography
9+ # - Remove Travis references
10+ # 1.8.0 - 2019-10-21 - Don't run flake8 on local_settings.py
11+ # 1.7.0 - 2018-05-31 - Now using python 3 by default
12+ # - Removed virtualenv.py in favor of python 3's
13+ # builtin venv capability.
14+ # 1.6.0 - 2017-09-05 - add bandit secure analysis configuration
15+ # 1.5.0 - 2017-08-24 - remove jshint/jscs in favor of eslint
16+ # 1.4.0 - 2017-06-06 - backout the switch to eslint. that's not really ready yet.
17+ # 1.3.0 - 2017-06-05 - pypi location is not needed anymore
18+ # 1.2.0 - 2016-12-15 - bump wheel version to 0.29
19+ # 1.1.0 - 2016-11-08 - run flake8 tests before unit tests
20+ # 1.0.1 - 2016-05-02 - Remove deprecated syncdb command from make install
2121
2222VE ?= ./ve
2323MANAGE ?= ./manage.py
2424REQUIREMENTS ?= requirements.txt
2525SYS_PYTHON ?= python3
2626PY_SENTINAL ?= $(VE ) /sentinal
2727WHEEL_VERSION ?= 0.45.1
28- PIP_VERSION ?= 25.2
28+ PIP_VERSION ?= 25.3
29+ SETUPTOOLS_VERSION ?= 80.9.0
2930MAX_COMPLEXITY ?= 10
3031INTERFACE ?= localhost
3132RUNSERVER_PORT ?= 8000
@@ -34,19 +35,19 @@ BANDIT ?= $(VE)/bin/bandit
3435FLAKE8 ?= $(VE ) /bin/flake8
3536PIP ?= $(VE ) /bin/pip
3637
37- jenkins : check flake8 test eslint bandit
38+ jenkins : check flake8 test bandit
3839
3940$(PY_SENTINAL ) : $(REQUIREMENTS )
4041 rm -rf $(VE )
4142 $(SYS_PYTHON ) -m venv $(VE )
4243 $(PIP ) install pip==$(PIP_VERSION )
43- $(PIP ) install --upgrade setuptools
44+ $(PIP ) install setuptools== $( SETUPTOOLS_VERSION )
4445 $(PIP ) install wheel==$(WHEEL_VERSION )
4546 $(PIP ) install --no-deps --requirement $(REQUIREMENTS )
4647 touch $@
4748
4849test : $(PY_SENTINAL )
49- $(MANAGE ) test $(APP )
50+ $(MANAGE ) test $(PY_DIRS )
5051
5152parallel-tests : $(PY_SENTINAL )
5253 $(MANAGE ) test --parallel
@@ -77,26 +78,4 @@ clean:
7778 rm -rf node_modules
7879 find . -name ' *.pyc' -exec rm {} \;
7980
80- pull :
81- git pull
82- make check
83- make test
84- make migrate
85- make flake8
86-
87- rebase :
88- git pull --rebase
89- make check
90- make test
91- make migrate
92- make flake8
93-
94- # run this one the very first time you check
95- # this out on a new machine to set up dev
96- # database, etc. You probably *DON'T* want
97- # to run it after that, though.
98- install : jenkins
99- createdb $(APP )
100- make migrate
101-
102- .PHONY : jenkins test flake8 runserver migrate check shell clean pull rebase install
81+ .PHONY : jenkins test flake8 runserver migrate check shell clean
0 commit comments