Skip to content

Instantly share code, notes, and snippets.

@mardix
Last active April 24, 2019 06:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mardix/c96e1ce96ba0f544d7dd21b50867d91f to your computer and use it in GitHub Desktop.
Save mardix/c96e1ce96ba0f544d7dd21b50867d91f to your computer and use it in GitHub Desktop.
Python Package Development
## Create virtualenv
> mkvirtualenv $name
> workon $name
## Develop
To install
> python setup.py develop
To uninstall
> python setup.py develop –unistall
## Deploy
> sudo python setup.py register -r pypi && sudo python setup.py sdist upload -r pypi
On my local: pypi-release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment