Skip to content

Instantly share code, notes, and snippets.

@stevepeak
Last active December 17, 2015 00:28
Show Gist options
  • Save stevepeak/5520777 to your computer and use it in GitHub Desktop.
Save stevepeak/5520777 to your computer and use it in GitHub Desktop.
Create and mange a pip project

pip

  • install PasteScript sudo easy_install PasteScript
  • create project paster create __name__
    • add package folder add to setup dict arguments packages = ['__folder__']
    • remove content in setup.cfg via $ echo "[egg_info]" > setup.cfg
  • register package python setup.py register
  • search for package pip search __name__
  • upload python setup.py sdist upload
  • git ignore to ignore package stuff

git tags

  • create git tag -a v1.4 -m 'comment'
  • push git push origin v1.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment