Skip to content

Commit 5d027e3

Browse files
authored
Create dev.md
1 parent 4ebea17 commit 5d027e3

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

dev.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Command for development
2+
create file **.pypirc**
3+
4+
```
5+
[distutils]
6+
index-servers =
7+
pypi
8+
pypitest
9+
10+
[pypi]
11+
repository: https://upload.pypi.org/legacy/
12+
username:
13+
password:
14+
15+
[pypitest]
16+
repository: https://test.pypi.org/legacy/
17+
username=
18+
password=
19+
```
20+
build
21+
```bash
22+
python setup.py bdist_wheel --universal
23+
python setup.py sdist
24+
```
25+
26+
pypitest
27+
```
28+
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
29+
pip3 install json_logging --index-url https://test.pypi.org/simple/
30+
```
31+
pypi
32+
```
33+
pip3 install json_logging
34+
twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
35+
36+
```

0 commit comments

Comments
 (0)