Chapter 4: Building pip Modules in Python
Writing code to solve our problems is useful. However, writing code can become repetitive and time-consuming, especially when we are building applications. Applications usually require defining the steps that build the application. Packaging our code can help us reuse our code and share it with other developers. In this chapter, we will package Fibonacci code into a Python pip
module that can be easily installed and has a command-line tool. We will also cover continuous integration processes that deploy our packages once a merge has been achieved to our main
branch.
In this chapter, we will cover the following topics:
- Configuring setup tools for a Python
pip
module - Packaging Python code in a
pip
module - Configuring continuous integration