Header

Using Pip in the Build Pipeline (Python)

In order to be able to use Pip to build your Python projects, you can use the following commands as a baseline:

  # First we upgrade pip, just in case
  pip3 install --upgrade pip

  # Then, we install the required dependencies, mind the path!
  pip3 install -r requirements.txt

  # Last, we run the tests
  python3 sampple_unittest.py

What's Pip?

Pip is a package installer for Python. It's a command-line program that allows you to easily install and manage third-party Python packages. When you want to use a library or module that isn't included in the standard Python distribution, you can use pip to install it.

Happy deploying!

Tree

Proudly powered by Katapult. Running on 100% renewable energy.