happy-kitchen-89482
06/08/2017, 12:25 AMpurple-oil-45048
06/08/2017, 12:26 AMwitty-crayon-22786
06/08/2017, 12:26 AMwitty-crayon-22786
06/08/2017, 12:27 AMpurple-oil-45048
06/08/2017, 12:28 AMpython_library()
was depending on a platform-dependent .egg
.. only after explicitly declaring the same dependency on the python_binary()
did it show up in the .pex
filepurple-oil-45048
06/08/2017, 12:30 AM1.3.0
is out!delightful-eye-58250
06/08/2017, 4:13 AMpurple-oil-45048
06/08/2017, 4:14 AMjvm_extra_args
settings on the JVM targets for this ..delightful-eye-58250
06/08/2017, 4:21 AMdelightful-eye-58250
06/08/2017, 4:23 AMmost-wire-83210
06/08/2017, 8:01 AMmost-wire-83210
06/08/2017, 8:02 AMmost-wire-83210
06/08/2017, 8:03 AMmost-wire-83210
06/08/2017, 8:03 AMmost-wire-83210
06/08/2017, 8:04 AMmost-wire-83210
06/08/2017, 8:04 AMmost-wire-83210
06/08/2017, 8:05 AMenough-analyst-54434
06/08/2017, 3:54 PMpants
file at the root of the repo using heron-pants
. The relevant code is here: https://github.com/pantsbuild/pants/blob/master/src/python/pants/base/build_root.py#L30-L57enough-analyst-54434
06/08/2017, 3:57 PMpants.ini
. I think we switched away from looking for that config file since a mjor goal was to reduce the amount of config needed to get pants running, ultimately with a goal of not needing a pants.ini
. I think we could revisit though. At some point it would be nice to have pants as a user / system binary much like heron-pants that multiple repos could share instead of installing a pants script in each repo running pants. In that world, touching pants.ini arguably seems like a low overhead repo setup step.witty-crayon-22786
06/08/2017, 4:59 PMwitty-crayon-22786
06/08/2017, 5:03 PMwitty-crayon-22786
06/08/2017, 5:04 PMenough-analyst-54434
06/08/2017, 5:56 PMbut in this case, is the issue that the code being built into pexes may not live under the path where pants is installed?Yes, that's the issue afaict. That issue is solved if the build root sentinel in different from the pants executable. Seems like
pants.ini
is the natural choice in that case? IE: pretend heron-pants does not exist, but installing pants system wide does exist as a concept. In that world, having pants
at the root of the repo be the sentinel is confusing since pants
would already be a binary on the PATH.rough-minister-58256
06/08/2017, 6:30 PMpex
cli tool and then just use that for the heron case vs a full blown pants installation?rough-minister-58256
06/08/2017, 6:30 PMrough-minister-58256
06/08/2017, 6:32 PMfast-megabyte-33579
06/08/2017, 6:34 PMpants
in the repo root to your system directorywitty-crayon-22786
06/08/2017, 6:36 PMmost-wire-83210
06/08/2017, 8:06 PMmost-wire-83210
06/08/2017, 8:11 PM