How to run streamlit apps in pants? #18353
Answered
by
kaos
rhuanbarreto
asked this question in
Q&A
-
Streamlit can only run through its CLI by doing |
Beta Was this translation helpful? Give feedback.
Answered by
kaos
Feb 24, 2023
Replies: 1 comment 3 replies
-
stripped down answer of https://pantsbuild.slack.com/archives/C046T6T9U/p1677251089751089?thread_ts=1677247987.213439&cid=C046T6T9U Using Pants # some/BUILD
pex_binary(name="bin", script="streamlit", dependencies=[<streamlit app>]) $ pants run some:bin -- run <streamlit app> Using Pants # some/BUILD
pex_binary(name="bin", script="streamlit", args=["run", <streamlit app>], dependencies=[<streamlit app>]) $ pants run some:bin |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
rhuanbarreto
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
stripped down answer of https://pantsbuild.slack.com/archives/C046T6T9U/p1677251089751089?thread_ts=1677247987.213439&cid=C046T6T9U
Using Pants
<2.16.0.dev5
Using Pants
>=2.16.0.dev5