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
rp_pypi_tut_flit-0.1.0.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for rp_pypi_tut_flit-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcc89d592e87bff03bb58036c32159e4a179188f6fbde08f3723d675c3673cae |
|
MD5 | aabe6496c74bb83a1bf05a60ba260516 |
|
BLAKE2b-256 | 3cc2487e410a13ec1254c539368f6850448c4a587f083e1e8ae6e20c0afb71a1 |