-
Notifications
You must be signed in to change notification settings - Fork 1
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
Homepage project urls #5
Conversation
8800b8c
to
d395a83
Compare
n = v.setup_call_args.get("name") | ||
if n: | ||
if n is UNKNOWN: | ||
raise ValueError("Complex setup call can't extract name") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think long-term these shouldn't raise; the snippets above do that because finding deps was the original use of this. It doesn't matter for your artifact-validation use case though.
README.md
Outdated
provides_extra=frozenset(), | ||
name='pynt', | ||
requires_python='>=3.6', | ||
url='https://stash.corp.netflix.com/projects/NFPY/repos/pynt/browse', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you happy with this example? Maybe use requests or something more recognizable instead?
README.md
Outdated
) | ||
``` | ||
|
||
The metadata can be extracted from a `wheel`, `sdist` (zip or tarball). Check [`__init__.py`](metadata_please/__init__.py) file for all available functions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also "most straightforward source checkouts"
metadata_please/source_checkout.py
Outdated
@@ -229,6 +367,8 @@ def from_setup_cfg_checkout(path: Path) -> bytes: | |||
"Requires-Dist: " + merge_extra_marker(extra_name, i) + "\n" | |||
) | |||
|
|||
# TODO name requires_python url project_urls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO can go
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that looked tedious
That was tedious but it is now done.