Skip to content

Commit

Permalink
pants: add [export].py_generated_sources_in_resolve=[st2]
Browse files Browse the repository at this point in the history
  • Loading branch information
cognifloyd committed Sep 11, 2024
1 parent 54d6386 commit 9d93199
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pants.toml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ py_resolve_format = "mutable_virtualenv"
# By default, pex modifies script shebangs to add '-sE'.
# This breaks nosetest and anything that needs PYTHONPATH.
py_hermetic_scripts = false
# If any targets generate sources/files, include them in the exported venv.
py_generated_sources_in_resolve = ["st2"]

[python-infer]
# https://www.pantsbuild.org/stable/reference/subsystems/python-infer#string_imports
Expand Down

0 comments on commit 9d93199

Please sign in to comment.