Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.
Joshua Downer edited this page May 8, 2018 · 3 revisions

Uploading to pypi

These are just notes to remind me how to upload gist to pypi.

# First, clean the repository
make clean

# Create a virtual environment to work in
virtualenv /tmp/venv
source /tmp/venv/bin/activate

# Install additional packages
pip install -U pip twine wheel setuptools requests[security]

# Generate binary and source packages
python setup.py sdist bdist_wheel

# Use twine to simplify the process of uploading the pypi
twine upload dist/*
Clone this wiki locally