Skip to main content
Version: 2.15 (deprecated)

export


pants export [args]

Export Pants data for use in other tools, such as IDEs.

Backend: pants.core

Config section: [export]

Basic options

resolve

--export-resolve="['<str>', '<str>', ...]"
PANTS_EXPORT_RESOLVE
pants.toml
[export]
resolve = [
'<str>',
'<str>',
...,
]
default: []

Export the specified resolve(s). The export format is backend-specific, e.g., Python resolves are exported as virtualenvs.

--[no-]export-symlink-python-virtualenv
PANTS_EXPORT_SYMLINK_PYTHON_VIRTUALENV
pants.toml
[export]
symlink_python_virtualenv = <bool>
default: False

Export a symlink into a cached Python virtualenv. This virtualenv will have no pip binary, and will be immutable. Any attempt to modify it will corrupt the cache! It may, however, take significantly less time to export than a standalone, mutable virtualenv will.

Advanced options

None

Deprecated options

None