future-oxygen-10553
08/04/2022, 5:27 PMpyproject.toml
file, using Flit to build the sdist/wheel. Is there a way to set a python_requirements
to read the pyproject.toml
file, when I’m not using Poetry? I saw that Pants supports PEP 517 to build the distribution, but I’m curious if it can also single-source the external dependencies. Thanks!happy-kitchen-89482
08/04/2022, 5:42 PMpoetry_requirements()
target should do the trick I thinkflit_dependencies
targetfuture-oxygen-10553
08/04/2022, 5:43 PM[project]
...
dependencies = [
...
]
...
whereas Poetry is
[tool.poetry.dependencies]
flask = ...
hundreds-father-404
08/04/2022, 5:47 PMflit_dependencies
!future-oxygen-10553
08/04/2022, 5:58 PMhundreds-father-404
08/04/2022, 6:35 PMenough-analyst-54434
08/04/2022, 7:55 PMfuture-oxygen-10553
08/04/2022, 8:12 PM