Tox is an amazing tool to package, test and deploy your Python project. This tutorial does not aim at describing how to setup your project with tox as its documentation is quite good. We'd rather have a look on how to setup a tox enabled project on Jenkins with ShiningPanda plugin.
Sample project
This tutorial uses a sample project to describe all the steps of the process. The sources of this project can be found here.
This sample project is organized like this:
Note the tox.ini file next to the setup.py which contains the configuration for tox ...