$30 off During Our Annual Pro Sale. View Details »

We Store Cheese in A Warehouse

We Store Cheese in A Warehouse

Context of this talk: https://speakerdeck.com/uranusjr/we-buy-cheese-in-a-cheese-shop

What Python Packaging went through in the past few years, how it is at year 2017, and looking ahead.

Tzu-ping Chung

September 21, 2017
Tweet

More Decks by Tzu-ping Chung

Other Decks in Programming

Transcript

  1. A PIL Tutorial >>> import Image >>> im = Image.open("louie.jpg")

    >>> im.show() https://gist.github.com/bradmontgomery/3125124 ?
  2. >>> import Image >>> print(Image.__file__) lib/python2.7/site-packages/PIL/Image.pyc >>> import sys >>>

    for path in sys.path: ... print path ... (more...) lib/python2.7/site-packages/PIL (more...)
  3. Now

  4. PyPA’s Schedule • Merge back Distribute • New binary format

    (wheel) • Built-in Setuptools and Pip • Better Security
  5. setup.py • Ad-hoc executable is always wrong • Don’t know

    what will happen until they actually happen • Wrong assumptions on top of wrong assumptions
  6. Summary • Use Pipenv to manage projects • Use modern

    tools to distribute packages • Adopt PEP 508, prepare for PEP 518
  7. Summary • A lot can happen in five years •

    PyPA rocks, please help them • Looking forward to the next five!