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

rapid-crayon-8232

03/04/2020, 3:00 PM
hello guys, any idea? I'm trying to set up the pants v2 backend for python 😊 https://pantsbuild.slack.com/archives/CASMF8SJ1/p1583329759004100?thread_ts=1583200567.003900&cid=CASMF8SJ1
h

happy-kitchen-89482

03/04/2020, 5:53 PM
The template repo? That's not really ready yet... Let's see what's going on here though
Also yay for setting up v2!
What's in packages-python?
I don't think it'll make a difference but probably that's supposed to be in third_party_roots ?
r

rapid-crayon-8232

03/04/2020, 7:23 PM
packages-python contains my python packages, usually python libraries, and some python binaries, i'm following the 111 rule so each folder is it's own library
third_party is the equivalent of 3rdparty in pants, i'm not sure if i have to setup the roots for it in config file too ? i'm using pants v1.24 right now, and don't this problem without setting third_party_roots
in third_party i have the classic requirements.txt with some packages, and
python_requirements()
in the adjacent BUILD file
2 Views