Skip to main content

A sample PyPI package

Project description

hello-pypi

Just seeing how to publish and version libraries for PyPI

Development

python -m venv myvenv
source myvenv/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt

Build Wheel

bash build.sh

Integration Test (local wheel build)

bash build.sh

Publish to PyPI

Make sure to bump version in setup.py

twine upload dist/*

Prod test PyPI

twine upload dist/*
python -m venv myvenv_test
source myvenv_test/bin/activate
python -m pip install --upgrade pip
pip install ./dist/markslibrary-0.1-py3-none-any.whl
python -m venv myvenv_prod
source myvenv_prod/bin/activate
python -m pip install --upgrade pip
pip install markslibrary

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

markslibrary-0.1.2.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

markslibrary-0.1.2-py3-none-any.whl (7.5 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