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

happy-horse-36146

07/31/2022, 11:20 PM
Hi I want to build a python based docker image, but I only want the sources requirements installed. Or more specifically I want the sources dependencies installed in the system python env Is this possible?
c

cool-yacht-37128

08/01/2022, 4:07 AM
I don’t think it’s possible.
b

bitter-ability-32190

08/01/2022, 10:25 AM
I have an upcoming blog post you can use for inspiration! It's totally doable! Here it is in Google docs: https://docs.google.com/document/d/1CpyA57MRtOMJHSjuRLoK8_CBJWWBxvPOK1G0j2_zQWA/edit?usp=sharing
It won't install them in the system Python env, but rather in a venv. There's likely a PEX flag to do what you want