MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / get_setup_parties

Function get_setup_parties

src/packagedcode/pypi.py:2059–2070  ·  view source on GitHub ↗

Return a list of parties found in a ``setup_kwargs`` mapping of data found in setup.py or setup.cfg.

(setup_kwargs)

Source from the content-addressed store, hash-verified

2057
2058
2059def get_setup_parties(setup_kwargs):
2060 """
2061 Return a list of parties found in a ``setup_kwargs`` mapping of data found
2062 in setup.py or setup.cfg.
2063 """
2064 return get_parties(
2065 metainfo=setup_kwargs,
2066 author_key='author',
2067 author_email_key='author_email',
2068 maintainer_key='maintainer',
2069 maintainer_email_key='maintainer_email',
2070 )
2071
2072
2073def get_pyproject_toml_parties(metainfo):

Callers 1

parseMethod · 0.85

Calls 1

get_partiesFunction · 0.70

Tested by

no test coverage detected