File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,13 @@ pypi: ## Upload the built distributions to PyPI.
36
36
test_pypi : # # Upload the distributions to test PyPI.
37
37
python -m twine upload --verbose --repository testpypi --password $$ TWINE_TEST_PASSWORD dist/*
38
38
39
- VERSION := $(shell python -c "import django_coverage_plugin as me; print(me.__version__) ")
39
+ _install_e :
40
+ python -m pip install -q -e .
40
41
41
- tag : # # Make a git tag with the version number.
42
- git tag -s -m " Version v$( VERSION) " v$(VERSION )
43
- git push --all
42
+ tag : _install_e # # Make a git tag with the version number.
43
+ @export VER=" $$ (python -c " import django_coverage_plugin as me; print(me.__version__)" )" && \
44
+ echo git tag -s -m " Version v$$ VER" v$$ VER
45
+ echo git push --all
44
46
45
47
ghrelease : # # Make a GitHub release for the latest version.
46
48
python -m scriv github-release
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ classifiers = [
36
36
requires-python = " >= 3.9"
37
37
dependencies = [
38
38
" coverage" ,
39
+ " Django" ,
39
40
]
40
41
dynamic = [" version" ]
41
42
Original file line number Diff line number Diff line change 1
- # To run tests, we just need tox.
2
- tox >= 1.8
1
+ # To run tests, we just need tox:
2
+ tox
3
+
4
+ # For releases:
3
5
build
4
6
scriv
5
7
twine
6
-
7
- # We need django and coverage to be able to import ourselves to make a tag...
8
- django
9
- coverage
You can’t perform that action at this time.
0 commit comments