Three suggestions for
making PyPI sux less
        Andreas Jung
         ZOPYX Ltd.
      info@zopyx.com
Always upload your
packages to PyPI !
Why?
• all packages hosted on PyPI must be available
  at any time
• we have PyPI mirrors
• but we can not mirror all exte...
Never ever remove
released packages
    from PyPI!
Why?

• Large installations often pin all dependency
  versions for reproducability
• removing a released package will bre...
Do proper releases!
Proper releases
• ensure that it contains reasonable metadata and
  package description
• upload source distros (setup.py ...
Help keeping PyPI
    healhty and useful
• Fullfillbasic standards when releasing
  while stuff on PyPI
• Consider PyPI as ...
Making Py Pi Sux Less Key
Upcoming SlideShare
Loading in...5
×

Making Py Pi Sux Less Key

2,139

Published on

1 Comment
2 Likes
Statistics
Notes
No Downloads
Views
Total Views
2,139
On Slideshare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
9
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
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×