+1 -1 +16
Vote on this proposal

Distributing Python Packages Using Setuptools

by Baiju Muthukadan (speaking)

Section
Software Development Tools
Technical level
Intermediate

Objective

Explain and demonstrate the fundamental workflow of using Setuptools for distributing Python packages. The talk will cover setting up a basic environment for development using Virtualenv and Pip. All the major parameters used in a typical setup.py file will be explained. The talk will also cover setting up a local package index server for development.

Description

This talk will explain the need for distribution and why Python developers should care about that. Packaging and distribution related technologies will be explained later. Next, setting up a basic development environment using Virtualenv and Pip will be covered. A simple package development and creating a source distribution will be demonstrated. Once the demo is finished, a complete walk through of setup.py will be given. This will cover all the parameters used inside a typical setup.py file. This will include namespace package, entry points install requirements etc. All the major command line options and arguments when running setup.py script will be explained. Finally setting up a local package index server will be covered.

Requirements

  1. Basic understanding of Python programming
  2. Basic understanding of Software versioning
  3. Basic skill to use any of the command line shells like Bash, Zsh, cmd.exe etc. (This talk will be only using Bash shell for demonstration)

Speaker bio

Baiju Muthukadan is a Python developer working as a Technical Architect at ZeOmega, Bangalore. He has been a contributor to Zope project since 2006 and has authored the book titled, A Comprehensive Guide to Zope Component Architecture. He founded the Swathanthra Malayalam Computing project in 2001 while studying at REC, Calicut. He was also employed by Free Software Foundation of India in 2002-2003. He had contributed to Koha in 2003-2004 years and also implemented it in few libraries during that time. Baiju has conducted many Python related talks and workshops in various parts of India including FOSS.IN. He is the main author of Selenium Python documentation. During PyCON India 2013, he received the first Kenneth Gonsalves Award.