curved-television-6568
09/02/2021, 7:00 AMpython_distribution
for instance, it mentions a type PythonArtifact
for the provides
field, but that type is not documented (online). Nor does it mention the alias for it, so I’d have to guess that it is python_artifact
however, the docs use its synonym setup_py
quite often too… so for new users, I think this is a frustrating thing to grok.hundreds-father-404
09/02/2021, 7:07 AMcurved-television-6568
09/02/2021, 7:08 AMhundreds-father-404
09/02/2021, 7:20 AMhappy-kitchen-89482
09/02/2021, 7:53 AMpython_artifact
documentation is nested within the documentation page for python_distribution
.hundreds-father-404
09/02/2021, 7:55 AMpants_version
would be useful
I think we want to already kill setup_py
in favor of the Target API.
I doubt we would ever add an object
in the future, now that we have the Target API
So, rather than implementing this, maybe we should more into dropping objects
happy-kitchen-89482
09/02/2021, 7:58 AMcurved-television-6568
09/02/2021, 8:06 AMcurved-television-6568
09/02/2021, 8:07 AMpython_artifact
too.. ?hundreds-father-404
09/02/2021, 8:08 AMcurved-television-6568
09/02/2021, 8:10 AMcurved-television-6568
09/02/2021, 8:10 AMhundreds-father-404
09/02/2021, 4:01 PMget_buildroot()
, I think as of changing to Pants 2. So it's not just undocumented, it's unused
setup_py
will be the only remaining object
, which is blocked by having target generation so that we can deprecate the setup-py plugin hook in favor of more generic target generationcurved-television-6568
09/02/2021, 4:55 PMhundreds-father-404
09/02/2021, 4:57 PMhundreds-father-404
09/02/2021, 4:58 PMprovides=
? Only need to figure out how to set __hash__
safely on the extra_setup_kwargs
field