File tree Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Original file line number Diff line number Diff line change 1- .PHONY : test upload clean bootstrap
1+ .PHONY : test
22
33test :
44 sh -c ' . _virtualenv/bin/activate; py.test tests'
55 _virtualenv/bin/pyflakes precisely tests
66
7+ .PHONY : test-all
8+
79test-all :
810 tox
911
10- upload : test-all
11- python setup.py sdist bdist_wheel upload
12+ .PHONY : upload
13+
14+ upload : test-all build-dist
15+ _virtualenv/bin/twine upload dist/*
1216 make clean
1317
14- register :
15- python setup.py register
18+ .PHONY : build-dist
19+
20+ build-dist : clean
21+ _virtualenv/bin/pyproject-build
22+
23+ .PHONY : clean
1624
1725clean :
1826 rm -f MANIFEST
19- rm -rf dist
27+ rm -rf build dist
28+
29+ .PHONY : bootstrap
2030
2131bootstrap : _virtualenv
2232 _virtualenv/bin/pip install -e .
@@ -29,3 +39,5 @@ _virtualenv:
2939 python3 -m venv _virtualenv
3040 _virtualenv/bin/pip install --upgrade pip
3141 _virtualenv/bin/pip install --upgrade setuptools
42+ _virtualenv/bin/pip install --upgrade wheel
43+ _virtualenv/bin/pip install --upgrade build twine
You can’t perform that action at this time.
0 commit comments