File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
- .PHONY : help venv conda docker docstyle format style black test lint check coverage
1
+ .PHONY : help venv conda docker docstyle format style black test lint check coverage pypi
2
2
.DEFAULT_GOAL = help
3
3
4
4
PYTHON = python
@@ -63,6 +63,12 @@ test: # Test code using pytest.
63
63
coverage : test
64
64
diff-cover coverage.xml --compare-branch=master --fail-under=100
65
65
66
+ pypi :
67
+ ${PYTHON} setup.py clean --all; \
68
+ ${PYTHON} setup.py rotate --match=.tar.gz,.whl,.egg,.zip --keep=0; \
69
+ ${PYTHON} setup.py sdist bdist_wheel; \
70
+ twine upload --skip-existing dist/*;
71
+
66
72
lint : docstyle format style # Lint code using pydocstyle, black and pylint.
67
73
68
74
check : lint test coverage # Both lint and test code. Runs `make lint` followed by `make test`.
You can’t perform that action at this time.
0 commit comments