/build-support/
Scripts used to build Pants-related things. Scripts, config, and other infrastructure necessary for Pants to function.
Python packages distributed to PyPI with pants are defined in a particular format in bash:
Each package definition is of the form:
PKG_<NAME>=(
"package.name"
"build.target"
"pkg_<name>_install_test"
"bdist_wheel flags" # NB: this entry is optional.
)
function pkg_<name>_install_test() {
...
}
The arguments to the pkg_<name>_install_test
function are the version string to test,
follow be zero or more pip args (for use if pip is going to be used to test the package).
All contrib tests are run as part of CI, so the pkg_<name>_install_test
function should
generally only sanity check that a module is properly importable as a plugin.