File tree Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change 1
1
include LICENSE.txt
2
+ prune docs
3
+ prune notebooks
Original file line number Diff line number Diff line change 64
64
65
65
rm -rf dist
66
66
python3 -m build --sdist --wheel
67
+
67
68
# Use API Token instead of username+password
68
69
# https://pypi.org/help/#apitoken
69
- twine upload --verbose --repository-url https://test.pypi.org/legacy/ dist/*
70
- # twine upload dist/*
70
+ # Place the API Token(s) in your $HOME/.pypirc
71
+ # [distutils]
72
+ # index-servers =
73
+ # pypi
74
+ # testpypi
75
+ #
76
+ # [pypi]
77
+ # repository = https://upload.pypi.org/legacy/
78
+ # username = __token__
79
+ # password = <PyPI API Token>
80
+ #
81
+ # [testpypi]
82
+ # repository = https://test.pypi.org/legacy/
83
+ # username = __token__
84
+ # password = <Test PyPI API Token>
85
+
86
+ # Upload to Test PyPi
87
+ # (OLD) twine upload --verbose --repository-url https://test.pypi.org/legacy/ dist/*
88
+ twine upload --verbose -r testpypi dist/*
89
+
90
+ # Upload to PyPI
91
+ # (OLD) twine upload dist/*
92
+ # twine upload -r pypi dist/*
93
+
71
94
rm -rf build dist stumpy.egg-info
You can’t perform that action at this time.
0 commit comments