https://pantsbuild.org/ logo
#general
Title
# general
b

breezy-apple-27122

03/02/2023, 2:45 PM
Hi! is there an easy way to automate installation of python packages? I had to create a script that does the following commands to add new packages to a repo:
Copy code
#!/bin/sh -e
poetry add --lock $@
rm -f poetry.lock
pants generate-lockfiles ::
pants export --resolve=python-default --resolve=pytest
Is there a way to streamline this? Or am I doing things wrong?
r

refined-addition-53644

03/02/2023, 2:57 PM
I don’t think currently there is any other automated way.
c

curved-manchester-66006

03/02/2023, 3:18 PM