Sharing a package
To distribute Python packages and projects across communities, there are many tools available. We will focus only on the tools that are recommended as per the guidelines provided by PyPA.
In this section, we will be covering installing and distributing packaging techniques. A few tools that we will use or are at least worth mentioning in this section as a reference are as follows:
- distutils: This comes with Python with base functionality. It is not easy to extend for complex and custom package distribution.
- setuputils: This is a third-party tool and an extension of distutils and is recommended for building packages.
- wheel: This is for the Python packaging format and it makes installations faster and easier as compared to its predecessors.
- pip: pip is a package manager for Python packages and modules, and it comes as part of Python if you are installing Python version 3.4 or later. It is easy to use pip to install a new module by using a command...