Question about Python library packaging… I’m migra...
# general
g
Question about Python library packaging… I’m migrating to using pants as the build tool, how do I continue to support “extras_require”? Sounds like it might be multiple targets in some way
e
You should be able to continue to support this in several ways depending on how you use the
python_distribution
target. Either via the setuptools kwargs passthrough support: https://www.pantsbuild.org/docs/reference-python_distribution#codeprovidescode or delegation to your own hand maintained setup.py / setup.cfg or pyproject.toml.
g
It’s an opensource repo - https://github.com/ghandic/jsf perhaps you cạo of take a look and advise? We want typer to only be included as a dependency if you install jsf[cli]