FOSSA supports Python projects through 2 package managers:
setuptools
(Alpha)pip
(Alpha)Project settings config is accessible and editable from the projects page (http://<fossa-host>/projects/<project>/settings/languages).
The environment variables
used during project build is configurable via Project Settings > Builds and Languages > General.
Dependencies are extracted from the install_requires
parameter in a projects setup.py
file. If the setup.py
file has been customized, Fossa may not be able to pull out dependencies.
When possible, source code is downloaded over binary formats like .egg and .whl. If an egg or wheel is downloaded, its contents are inspected to find dependency information.
Python projects can refer to dependencies in a Version Control System (VCS). The following VCSs are supported by Python:
Fossa currently only supports the git VCS as a dependency.
setup.py
or pip install -r <requirements.txt>
is not supported.setup.py
files are not supported.