pypkgdemo1
This is a simple example package. You can use Github-flavored Markdown to write your content.
This page explain about packging python projects and upload to pypi. https://packaging.python.org/tutorials/packaging-projects/
build
pip install --upgrade pip setuptools wheel
pytyhon setup.py sdist bdist_wheel
ls dist/
upload to TestPypi
pip install --upgrade twine
twine upload --repository -url https://test.pypi.org/legacy/ dist/*
upload to TestPypi
install from TestPypi
pip install --index-url https://test.pypi.org/simple/ pypkgdemo1
testing pypkgdemo1
python
import pypkgdemo1
pypkgdemo1.joke()
uninstall pypkgdemo1
pip uninstall pypkgdemo1
upload to Pypi
pip install --upgrade twine
twine upload dist/*
install from Pypi
pip install pypkgdemo1
Release files for pypkgdemo1 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pypkgdemo1-0.2.tar.gz | 1.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pypkgdemo1-0.2-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 3.0 kB
Release files / pypkgdemo1-0.2.tar.gz
| Download URL | pypkgdemo1-0.2.tar.gz |
|---|---|
| Size | 1.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b68e32d525c4cae954e34a168ce07359da588cdd74beab2bb56a03bf8dbac0a
|
|
BLAKE2b-256 checksum How to use checksums |
ba7a58f3b9ecd102ef3c2c4a9b35e1b37fcfdfdc3a120969a5fd5fe013335ddd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pypkgdemo1-0.2-py2-none-any.whl
| Download URL | pypkgdemo1-0.2-py2-none-any.whl |
|---|---|
| Size | 1.5 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
797d3a8d65051426db5579039722d6741a5986faa45931f614cdcdb2379c8209
|
|
BLAKE2b-256 checksum How to use checksums |
64a0ef964c18dfab4e4b49166ce1750b654f36c728d3414e6a766328b53ee191
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |