Skip to content

Instantly share code, notes, and snippets.

@sunwei
Last active August 30, 2019 08:26
Show Gist options
  • Save sunwei/8cb78d270ff1cd3414bbe3ae10fd4fad to your computer and use it in GitHub Desktop.
Save sunwei/8cb78d270ff1cd3414bbe3ae10fd4fad to your computer and use it in GitHub Desktop.
Workshop for Python package pypi

Pypi Workshop

Welcome to a simple and fun Pypi Workshop. This Workshop was designed to be run with who publish their own public python package.

Areas that we aim to cover

  • Automation Pypi package CI/CD management with multiple version
  • tox

The following will need to be provided by teams

  • Pypi account - register here
  • Travis account - register here
  • Travis command line tool - download here

Rules of Engagement

  • Pypi management as code, no GUI's publish allowed

Goals of the teams

  • Step 1: Get Nihao python module with tests ready, test with pytest
  • Step 2: Support python with different versions, 27, 34, 35, 36
  • Step 3: Publish your pypi package with command line
  • Step 4: Make your long descriptiton combined with readme and change logs
  • Step 5: Make your package version into read from code
  • Step 6: Add your install requirements read from code

GitHub demos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment