Pants v2: The ergonomic build system

Welcome to the Pants v2 documentation hub!

Pants v2 is a fast, scalable, user-friendly build system for growing codebases. It's currently focused on Python, with support for other languages coming soon.

Here you'll find guides to help you get started with Pants v2, comprehensive documentation on how to configure, run and customize Pants v2, and information on how to get help from the Pants community.

Get Started

shell-setup

Options for Pants's Shell support.

Config section: [shell-setup]

Basic options

None

Advanced options

executable_search_paths

--shell-setup-executable-search-paths="[<binary-paths>, <binary-paths>, ...]"
PANTS_SHELL_SETUP_EXECUTABLE_SEARCH_PATHS
default:
[
  "<PATH>"
]

The PATH value that will be used to find shells and to run certain processes like the shunit2 test runner.

The special string "<PATH>" will expand to the contents of the PATH env var.


dependency_inference

--[no-]shell-setup-dependency-inference
PANTS_SHELL_SETUP_DEPENDENCY_INFERENCE
default: True

Infer Shell dependencies on other Shell files by analyzing `source` statements.


Deprecated options

None

Updated 15 days ago


shell-setup


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.