strong-dawn-11939
08/05/2024, 2:55 PMpython_distribution
, and I'd like to treat one of the dependencies as an optional (e.g., a "pip extra" AKA "packaging extra"; https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#dependencies-optional-dependencies). I looked through the python_distribution
docs, but, didn't see a clear pointer to accomplishing this--did I miss something, or is there another doc page to consult or approach to consider?careful-address-89803
08/07/2024, 7:12 PMgenerate_setup=False
in the BUILD file and use normal python machinery to get it done, like a pyproject.toml. Here's an example for my project BUILD , pyproject.toml
Another is to write a plugin to customise the args passed to the generated setup. There's a tutorial for thatstrong-dawn-11939
08/07/2024, 7:25 PMOne option is to setOh! Didn't realize you could do that. Thank you!in the BUILD file and use normal python machinery to get it done, like a pyproject.tomlgenerate_setup=False