Making Py Pi Sux Less Key

2,628 views
2,479 views

Published on

1 Comment
2 Likes
Statistics
Notes
No Downloads
Views
Total views
2,628
On SlideShare
0
From Embeds
0
Number of Embeds
351
Actions
Shares
0
Downloads
10
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide

Making Py Pi Sux Less Key

  1. 1. Three suggestions for making PyPI sux less Andreas Jung ZOPYX Ltd. info@zopyx.com
  2. 2. Always upload your packages to PyPI !
  3. 3. Why? • all packages hosted on PyPI must be available at any time • we have PyPI mirrors • but we can not mirror all external sites • big installations using zc.buildout depend on PyPI heavily
  4. 4. Never ever remove released packages from PyPI!
  5. 5. Why? • Large installations often pin all dependency versions for reproducability • removing a released package will break our installations
  6. 6. Do proper releases!
  7. 7. Proper releases • ensure that it contains reasonable metadata and package description • upload source distros (setup.py sdist) • upload egg release for binary stuff (Win) only • no need to upload eggs for Python-only packages • http://pypi.python.org/pypi/zopyx.trashfinder
  8. 8. Help keeping PyPI healhty and useful • Fullfillbasic standards when releasing while stuff on PyPI • Consider PyPI as an eco-system and not as your personal unflushed package toilet • PyPI does not belong to you - it belongs to all of us and it should be useful to all of us

×