Currently either a setup.py is still needed, or the package must be installed. Newer projects, however, use a pyproject.toml and may use other build systems such as poetry. We want to be able to extract metadata (standardized in PEP-621) directly from pyproject.toml. It seems the current method using importlib.metadata does not provide any solution for this so some additional logic is needed.
This is a continuation of #16
Currently either a
setup.py
is still needed, or the package must be installed. Newer projects, however, use apyproject.toml
and may use other build systems such as poetry. We want to be able to extract metadata (standardized in PEP-621) directly frompyproject.toml
. It seems the current method usingimportlib.metadata
does not provide any solution for this so some additional logic is needed.