Skip to main content

A hellowold example package

Project description

Example python package

example how to create python package and deploy to pip registory

Prerequisite

  • install wheel
python3 -m pip install --user --upgrade setuptools wheel
  • intstall twine
python3 -m pip install --user --upgrade twine

Build & Deploy Steps

  • Go to setup.py directories and run the following command
    • it will generated a lot of files include dist directory which include package
python3 setup.py sdist bdist_wheel
# first upload
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
  • Or Upload to the world
    • don't forget to create API token on website first
# no need for url twine will use default one
twine upload dist/*

How to use

  • for test server
pip3 install -i https://test.pypi.org/simple/ example-pkg-hta-helloworld
  • for global
pip3 install example-pkg-hta-helloworld
  • Then use in python3 console
#access python console
python3

import hta_helloworld_pkg

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

example-pkg-hta-helloworld-0.0.3.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

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