Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get more Python package data when scanning setup.cfg #2912

Open
JonoYang opened this issue Apr 9, 2022 · 0 comments
Open

Get more Python package data when scanning setup.cfg #2912

JonoYang opened this issue Apr 9, 2022 · 0 comments

Comments

@JonoYang
Copy link
Member

JonoYang commented Apr 9, 2022

In Python packages, the setup.py file can contain origin info for a package. We can determine what the license, copyright holder, homepage and download URLs, as the package owner/maintainer declared it. However, some Python packages (like scancode-toolkit and other nexB projects) declare all of the package info and whatnot in setup.cfg, then let setuptools handle everything else. It does not seem that we get license or holder information when we do a Package scan on a setup.cfg, we only get the declared dependencies.

It would be convenient to be able to get more Package information from setup.cfg when scanning Python packages.

JonoYang added a commit that referenced this issue May 3, 2022
    * Yield dependencies properly

Signed-off-by: Jono Yang <jyang@nexb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants