shy-advantage-49800
11/06/2022, 12:49 PMpython_artifact
requires name
if the name is provided on the pyproject.toml
? I just removed the version
, and it uses the version on pyproject.toml
🤔shy-advantage-49800
11/06/2022, 12:50 PMversion
field.
Ref.: https://www.pantsbuild.org/docs/python-distributions#pep-517happy-kitchen-89482
11/06/2022, 3:16 PMhappy-kitchen-89482
11/06/2022, 3:17 PMpyproject.toml
if you’re using that file, but you might be using setup.py, or asking Pants to generate setup.pyhappy-kitchen-89482
11/06/2022, 3:17 PMhappy-kitchen-89482
11/06/2022, 3:18 PMshy-advantage-49800
11/06/2022, 3:19 PMIt might be able to use the one fromnot sure if I get this, I'm telling pants to not generate theif you’re using that file, but you might be using setup.py, or asking Pants to generate setup.pypyproject.toml
setup.py
as well 🤔
is there a way to generate the name automatically based on the folder name it's contained?shy-advantage-49800
11/06/2022, 3:20 PMprovides=python_artifact(name="$PWD"),
something like this..happy-kitchen-89482
11/06/2022, 8:12 PMhappy-kitchen-89482
11/06/2022, 8:12 PM