File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -82,8 +82,7 @@ celerybeat-schedule
82
82
.env
83
83
84
84
# virtualenv
85
- venv /
86
- ENV /
85
+ .venv /
87
86
88
87
# Spyder project settings
89
88
.spyderproject
Original file line number Diff line number Diff line change 2
2
3
3
# DIU => Django Improved User
4
4
# DIU_VENV is the name of directory to store the virtual environment
5
- DIU_VENV ?= venv
5
+ DIU_VENV ?= . venv
6
6
ROOT_PYTHON ?= python3
7
7
DIU_PYTHON ?= $(DIU_VENV ) /bin/python3
8
8
DIU_COV ?= $(DIU_VENV ) /bin/coverage
@@ -14,6 +14,7 @@ $(DIU_VENV)/bin/activate:
14
14
$(ROOT_PYTHON ) -m venv $(DIU_VENV )
15
15
$(DIU_PYTHON ) -m pip install --upgrade pip setuptools wheel
16
16
$(DIU_PYTHON ) -m pip install -r requirements.txt
17
+ $(DIU_PYTHON ) -m pip install -r doc-requirements.txt
17
18
$(DIU_PYTHON ) -m flit install --symlink
18
19
19
20
.PHONY : build # # Build artifacts meant for distribution
@@ -23,8 +24,7 @@ build: $(DIU_VENV)/bin/activate
23
24
.PHONY : release # # Upload build artifacts to PyPI
24
25
release : $(DIU_VENV ) /bin/activate
25
26
git tag v` $( DIU_PYTHON) -m bumpversion --dry-run --list --new-version 0.0.0 patch | grep current | cut -d' =' -f 2`
26
- $(DIU_PYTHON ) -m flit publish
27
- git push --tags
27
+ @echo " Verify new tag has been created. If the tag looks correct, push to git with: git push --tags ."
28
28
29
29
.PHONY : test # # Run test suite for current environment
30
30
test : $(DIU_VENV ) /bin/activate
53
53
54
54
.PHONY : purge # # Clean + remove virtual environment
55
55
purge : clean
56
+ rm -rf .tox
56
57
rm -rf $(DIU_VENV )
57
58
58
59
.PHONY : help # # List make targets with description
You can’t perform that action at this time.
0 commit comments