Skip to content

Instantly share code, notes, and snippets.

@justdoit0823
Created April 9, 2018 03:16
Show Gist options
  • Save justdoit0823/53cc7a116e74551a968c68c5e718f6b2 to your computer and use it in GitHub Desktop.
Save justdoit0823/53cc7a116e74551a968c68c5e718f6b2 to your computer and use it in GitHub Desktop.
How to package python project.
  • cookiecutter

Install cookiecutter to initialize project structure.

  • setup.py

Update setup.py file according to your project.

  • package
python setup.py sdist

or

python setup.py bdist_wheel
  • deploy
twine upload dist/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment