Docstring here.
Project description
gonna learnz how to uploadz dem packagez
note how package name on PYPI doesn't have to be the same as X in IMPORT X
- pypi packge name is just what you choose and will impact pip install that_name
- IMPORT X depends on the name of the folder you have in the package
Steps:
- Create package folder (typically same name as host folder)
- Create empty init.py inside
- Create README.me - for longer docs you should use https://readthedocs.org/
- Create setup.py - fill out as in here
- Create MANIFEST.in - which describes not source code files to include / exclude
- To install packages you will need to run: pip install twine
- Packages in pypi are not distributed as raw source code. Instead they are wrapped into a format called "wheel". It's like a zip archive. To create a "wheel" for your packeg run: python setup.py sdist bdist_wheel
- List the contents of your pakage to make sure they're correct tar tzf dist/realpython_pypi_tut_AS_APPEAR_ON_PYPI-1.0.0.tar.gz
- Check that your package description will render properly on pypi twine check dist/*
- Upload your package! twine upload --repository-url https://test.pypi.org/legacy/ dist/*
- Remember to remove dist files between uploading new versions!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rp_pypi_tut_flit-0.1.0.tar.gz.
File metadata
- Download URL: rp_pypi_tut_flit-0.1.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.23.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ffbf842927ce312db84b2234a2b88e2e311326d73f1c9b3f8250e81a849ba39
|
|
| MD5 |
6ebc16228adbf2714f868852fb005064
|
|
| BLAKE2b-256 |
9f2bd4c0432df3e858758c17475fd9b51c7cc6f0f0d061e47d35a213db172d4c
|
File details
Details for the file rp_pypi_tut_flit-0.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: rp_pypi_tut_flit-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.23.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcc89d592e87bff03bb58036c32159e4a179188f6fbde08f3723d675c3673cae
|
|
| MD5 |
aabe6496c74bb83a1bf05a60ba260516
|
|
| BLAKE2b-256 |
3cc2487e410a13ec1254c539368f6850448c4a587f083e1e8ae6e20c0afb71a1
|