Pants v2: Fast, consistent builds for Python and more

Welcome to the Pants v2 documentation hub!

Pants v2 is a fast, scalable 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

run-tracker

Tracks and times the execution of a pants run.

Config section: [run-tracker]

Basic options

None

Advanced options

--run-tracker-stats-local-json-file=<str>
PANTS_RUN_TRACKER_STATS_LOCAL_JSON_FILE
stats_local_json_file
default: None

Write stats to this local json file on run completion.


--run-tracker-stats-option-scopes-to-record="['<str>', '<str>', ...]"
PANTS_RUN_TRACKER_STATS_OPTION_SCOPES_TO_RECORD
stats_option_scopes_to_record
default:
[
  "*"
]

Option scopes to record in stats on run completion. Options may be selected by joining the scope and the option with a ^ character, i.e. to get option `pantsd` in the GLOBAL scope, you'd pass `GLOBAL^pantsd`. Add a '*' to the list to capture all known scopes.


Deprecated options

None

Updated about a month ago


run-tracker


Suggested Edits are limited on API Reference Pages

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