Making Py Pi Sux Less Key

  • 2,023 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
2,023
On Slideshare
0
From Embeds
0
Number of Embeds
5

Actions

Shares
Downloads
8
Comments
1
Likes
2

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Three suggestions for making PyPI sux less Andreas Jung ZOPYX Ltd. info@zopyx.com
  • 2. Always upload your packages to PyPI !
  • 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. Never ever remove released packages from PyPI!
  • 5. Why? • Large installations often pin all dependency versions for reproducability • removing a released package will break our installations
  • 6. Do proper releases!
  • 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. 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