File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change 1- .PHONY : init check format requirements build clean
1+ .PHONY : init check format requirements build deploy
22
33init :
44 python3 -m pip install -U pipenv setuptools wheel
@@ -11,19 +11,10 @@ check:
1111
1212build :
1313 python3 setup.py sdist bdist_wheel
14- twine check dist/*
1514
16- clean :
17- rm -rf ` find . -name __pycache__`
18- rm -f ` find . -type f -name ' *.py[co]' `
19- rm -f ` find . -type f -name ' *~' `
20- rm -f ` find . -type f -name ' .*~' `
21- rm -f ` find . -type f -name ' @*' `
22- rm -f ` find . -type f -name ' #*#' `
23- rm -f ` find . -type f -name ' *.orig' `
24- rm -f ` find . -type f -name ' *.rej' `
25- rm -rf build
26- rm -rf dist
15+ deploy :
16+ python3 -m twine check dist/*
17+ python3 -m twine upload dist/*
2718
2819format :
2920 isort --profile black -l 79 pytorch_optimizer setup.py
You can’t perform that action at this time.
0 commit comments