https://pantsbuild.org/ logo
c

clean-night-52582

10/27/2021, 4:12 PM
I'm trying to build a python distribution with some C bindings so have a
setup.py
file. The
python_distribution
also has
dependencies
on the target. They don't seem to be in the environment when
setup.py
is invoked? is there another way to get access to the libs e.g
numpy
?
w

witty-crayon-22786

10/27/2021, 4:25 PM
funny you should ask. this relates to PEP-517 i think? cc @happy-kitchen-89482
seems like it does.
@clean-night-52582: so you will probably be interested in: https://blog.pantsbuild.org/pants-supports-pep-517/
c

clean-night-52582

10/27/2021, 5:06 PM
That sounds like what I'm looking for
I'll give the rc chance and see if I can get it to compile
h

happy-kitchen-89482

10/27/2021, 7:00 PM
Feel free to @ me here if you run into issues
(you will need to set
generate_setup=False
on your
python_distribution
target)