Skip to content

Latest commit

 

History

History
 
 

build-support

/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).