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
22.DEFAULT_GOAL = help
33
44PYTHON = python
@@ -63,6 +63,12 @@ test: # Test code using pytest.
6363coverage : test
6464 diff-cover coverage.xml --compare-branch=master --fail-under=100
6565
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+
6672lint : docstyle format style # Lint code using pydocstyle, black and pylint.
6773
6874check : 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