File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,8 @@ Reference
66
66
.. function :: parse_sdist_filename(filename)
67
67
68
68
This function takes the filename of a sdist file (as specified
69
- in PEP 517), and parses it, returning a tuple of name and version.
69
+ in the `Source distribution format `_ documentation), and parses
70
+ it, returning a tuple of name and version.
70
71
71
72
:param str filename: The name of the sdist file.
72
73
@@ -78,3 +79,5 @@ Reference
78
79
'foo'
79
80
>>> ver
80
81
<Version('1.0')>
82
+
83
+ .. _Source distribution format : https://packaging.python.org/specifications/source-distribution-format/#source-distribution-file-name
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class InvalidWheelFilename(ValueError):
25
25
26
26
class InvalidSdistFilename (ValueError ):
27
27
"""
28
- An invalid sdist filename was found, users should refer to PEP 517 .
28
+ An invalid sdist filename was found, users should refer to the packaging user guide .
29
29
"""
30
30
31
31
You can’t perform that action at this time.
0 commit comments