A utility package
Project description
wenyang
A Python package example
steps:
- Give your package a unique name {package.name} in PyPI. You can check with
pip search
. - Create a new repository {package.name} on github as https://github.com/{github.username}/{package.name}
git clone https://github.com/{github.username}/{package.name}
then you will get folder {package.name} as the {root}- Change directory into {root}
- Create README.md for the package if you did not init your repository with a README.md
- Read https://packaging.python.org/tutorials/packaging-projects/
- Create empty package as {package.name}
- Create setup.py
- Generate distribution packages
python3 -m pip install --upgrade setuptools wheel
python3 setup.py sdist bdist_wheel
- Upload the distribution archives
python3 -m pip install --upgrade twine
python3 -m twine upload --skip-existing dist/*
- Check the package on https://pypi.org/project/{package.name}/
references:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wenyang-1.0.0.tar.gz
(3.9 kB
view hashes)