File tree 3 files changed +15
-15
lines changed
3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ test-coverage: install-tests
44
44
# ----------------------
45
45
# Linting and Formatting
46
46
# ----------------------
47
- format : install-releasetools
47
+ format : install-tests
48
48
$(poe ) format
49
49
50
50
@@ -53,7 +53,8 @@ format: install-releasetools
53
53
# -------
54
54
55
55
# Release this piece of software
56
- release : push build pypi-upload
56
+ release :
57
+ poe release
57
58
58
59
59
60
# -------------
@@ -74,22 +75,10 @@ docs-autobuild: install-doctools
74
75
# ===============
75
76
# Utility targets
76
77
# ===============
77
- push :
78
- git push && git push --tags
79
-
80
- build : install-releasetools
81
- @$(python ) -m build
82
-
83
- pypi-upload : install-releasetools
84
- $(twine ) upload --skip-existing --verbose dist/* {.tar.gz,.whl}
85
-
86
78
install-doctools :
87
79
@test -e $(python ) || python3 -m venv $(venvpath )
88
80
$(pip ) install --quiet --upgrade --requirement=docs/requirements.txt
89
81
90
- install-releasetools : setup-virtualenv
91
- @$(pip ) install --requirement requirements-release.txt --upgrade
92
-
93
82
install-tests : setup-virtualenv
94
83
@test -e $(pytest ) || $(pip ) install --editable=.[test,develop] --upgrade
95
84
@touch $(venvpath ) /bin/activate
Original file line number Diff line number Diff line change @@ -128,3 +128,14 @@ test = [
128
128
]
129
129
build = {cmd =" python -m build" }
130
130
check = [" lint" , " test" ]
131
+ release = [
132
+ { cmd = " pip install --upgrade --editable=.[develop]" },
133
+ { cmd = " pip install --upgrade --requirement requirements-release.txt" },
134
+ # TODO: Add a basic bump step, which only runs the `git tag` and `git push` commands,
135
+ # but offers a convenience option to bump by "patch", "minor", or "major" levels.
136
+ # TODO: Remind user about updating the changelog file accordingly. Or use `towncrier`?
137
+ { cmd = " git push" },
138
+ { cmd = " git push --tags" },
139
+ { cmd = " python -m build" },
140
+ { cmd = " twine upload --skip-existing --verbose dist/*" },
141
+ ]
Original file line number Diff line number Diff line change 1
- twine
2
1
keyring
2
+ twine
You can’t perform that action at this time.
0 commit comments