Skip to content

Commit 2a84e50

Browse files
committed
project: add deploy script
1 parent d2c55ca commit 2a84e50

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

.pypirc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[distutils]
2+
index-servers =
3+
testpypi
4+
pypi
5+
6+
[testpypi]
7+
username = __token__
8+
password = access_token_here
9+
repository = https://test.pypi.org/legacy/
10+
11+
[pypi]
12+
username = __token__
13+
password = access_token_here
14+
repository = https://upload.pypi.org/legacy/

deploy_to_pypi.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
python3 -m build --outdir dist
2+
python3 -m twine upload --repository pypi dist/*

0 commit comments

Comments
 (0)