Added notes on building python packages for pypi.
This commit is contained in:
parent
2720475e7d
commit
63ba97ca2c
13
arch-config/Dokumente/programming/python-building.md
Normal file
13
arch-config/Dokumente/programming/python-building.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# python building for pypi
|
||||||
|
|
||||||
|
Create a setup.py file.
|
||||||
|
|
||||||
|
Execute in main program directory.
|
||||||
|
```bash
|
||||||
|
python setup.py bdist_wheel sdist
|
||||||
|
```
|
||||||
|
|
||||||
|
Upload to pypi
|
||||||
|
```bash
|
||||||
|
twine upload dist/*
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user