Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
edf097e2
Commit
edf097e2
authored
Mar 20, 2015
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flat is better than nested.
parent
00477b5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
setuptools/package_index.py
setuptools/package_index.py
+3
-5
No files found.
setuptools/package_index.py
View file @
edf097e2
...
...
@@ -138,11 +138,9 @@ def interpret_distro_name(
# versions in distribution archive names (sdist and bdist).
parts
=
basename
.
split
(
'-'
)
if
not
py_version
:
for
p
in
parts
[
2
:]:
if
p
.
match
(
'py
\
d
\
.
\
d
'
):
# It'
s
a
bdist_dumb
,
not
an
sdist
--
bail
out
return
if
not
py_version
and
any
(
p
.
match
(
'py
\
d
\
.
\
d
'
) for p in parts[2:]):
# it is a bdist_dumb, not an sdist -- bail out
return
for p in range(1,len(parts)+1):
yield Distribution(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment