<Comment on #18353 How to run streamlit apps in pa...
# github-notifications
q
Comment on #18353 How to run streamlit apps in pants? Discussion answered by kaos stripped down answer of https://pantsbuild.slack.com/archives/C046T6T9U/p1677251089751089?thread_ts=1677247987.213439&amp;cid=C046T6T9U Using Pants
<2.16.0.dev5
Copy code
# some/BUILD
pex_binary(name="bin", script="streamlit", dependencies=[<streamlit app>])
Copy code
$ pants run some:bin -- run <streamlit app>
Using Pants
>=2.16.0.dev5
Copy code
# some/BUILD
pex_binary(name="bin", script="streamlit", args=["run", <streamlit app>], dependencies=[<streamlit app>])
Copy code
$ pants run some:bin
pantsbuild/pants