Skip to main content

An example package

Project description

wenyang

A Python package example

steps:

  1. Give your package a unique name {package.name} in PyPI. You can check with pip search.
  2. Create a new repository {package.name} on github as https://github.com/{github.username}/{package.name}
  3. git clone https://github.com/{github.username}/{package.name} then you will get folder {package.name} as the {root}
  4. Create README.md for the package if you did not init your repository with a README.md
  5. Read https://packaging.python.org/tutorials/packaging-projects/
  6. Create empty package as {root}/{package.name}
  7. Create {root}/setup.py
  8. Generate distribution packages
  9. python3 -m pip install --upgrade setuptools wheel
  10. python3 setup.py sdist bdist_wheel
  11. Upload the distribution archives
  12. python3 -m pip install --upgrade twine
  13. python3 -m twine upload dist/*
  14. Check the package on https://pypi.org/project/wenyang/0.0.1/

references:

  1. https://github.com/pypa/sampleproject
  2. Github-flavored Markdown

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-0.0.2.tar.gz (1.7 kB view hashes)

Uploaded Source

Built Distribution

wenyang-0.0.2-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page