fresh-cat-90827
10/25/2022, 4:03 PMsetup_py
macro(?) or just a limitation of the peek
command? It doesn’t report the fields in the provides
field of the python_distribution
target. See the thread.fresh-cat-90827
10/25/2022, 4:03 PMpython_distribution(
name="my-wheel",
provides=setup_py(
name="helloworld",
version="0.0.1",
),
)
the output:
$ ./pants peek //:my-wheel
[
{
"address": "//:my-wheel",
"target_type": "python_distribution",
"dependencies": [],
"dependencies_raw": null,
"description": null,
"entry_points": null,
"env_vars": null,
"generate_setup": null,
"interpreter_constraints": null,
"long_description_path": null,
"provides": "helloworld",
"sdist": true,
"sdist_config_settings": null,
"tags": null,
"uses_mypyc": false,
"wheel": true,
"wheel_config_settings": null
}
]
with only "provides": "helloworld",
coming from name, but there is no version
curved-television-6568
10/25/2022, 4:37 PMcurved-television-6568
10/25/2022, 4:38 PMfresh-cat-90827
10/25/2022, 5:06 PM