/build_and_upload

Build and upload a Python library to PyPi

Primary LanguageShellThe UnlicenseUnlicense

Build and Upload to PyPi

Installation

  1. Clone this repo
  2. Add repo location to your path (in /etc/paths or .bashrc)
  3. Add execute permission to the script (chmod +x build_and_upload.sh)
  4. Save your PyPi token to ~/.pypi-password

If you haven't already, install PyPA's build and twine libraries (pip install build twine).

Usage

To use the script, the project will need to be properly packaged for PyPi.

In the project's root directory, simply run build_and_upload.sh.