Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaging: Add pex_binary BUILD metadata for building st2 venv #6307

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
BUILD: add dependency rule to prevent st2 deps in install script
  • Loading branch information
cognifloyd committed Feb 27, 2025
commit 5a2ad118c700e8e41e5a1e3eed4c51d335beec58
18 changes: 18 additions & 0 deletions packaging/BUILD.venv
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# rules on what packaging can depend on
__dependencies_rules__(
(
# All python sources in this directory
"<python_*>[/*]",
(
# may depend on 3rd party dependencies,
"//reqs#*",
# and on anything in this diretory,
"/**",
# but nothing else (eg not st2common, st2*, runners, ...).
"!*",
),
),
# other targets (not python in this directory) may depend on anything.
("*", "*"),
)

python_sources()

# We use st2-py*.pex to quickly build a venv (like /opt/stackstorm/st2)
Expand Down