Package Python Code the Hard Way

Abstract

You have Python code to publish. First, create setup.py, and setup.cfg, MANIFEST.in, pyproject.toml… What are all these stuff? Python packaging is so confusing! In this talk, we are going to throw all them away, and build a package from the ground up. Because Python packages are not hard, I promise!

Description

This presentation will mainly consist of me live coding on the stage. I will start from some bare Python code, write a Python script to package the code into Python package distributions (both wheel and sdist), and show that they are installable. During the session, I will introduce various topics while I write code for them. (See Outline for a rundown of topics.)

Slides

https://packaging-the-hard-way.readthedocs.io

Speaker

Tzu-ping Chung

TP builds his career around open source software, and enjoys committing his efforts to help make the world better. He builds all kinds of software for a living, from embedded system to single-page web applications, and contributes to the community when he can.

These days, he spends most of his time improving Python’s packaging landscape, organising PyCon Taiwan, and building software with Python and other modern technologies. He loves (human) languages, and knows probably too much about linguistics and phonetics to make him boring in parties.

TP 的職業生涯建立在開源軟體上,而喜歡花自己的精力讓這個世界更好。為了生活而寫過各式各樣的軟體,從嵌入式系統到 SPA 都是狩獵範圍,且只要有能力,就會盡量回饋社群。最近的時間大多花在對 Python packaging 的改善、籌辦 PyCon Taiwan、以及使用 Python 與現代前端技術開發軟體和應用程式。他有點太喜歡(人類)語言,常常扯到太多語言學和語音學,讓聊天內容變得無聊。