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
dd25d1f8
Commit
dd25d1f8
authored
Oct 25, 2016
by
stepshal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spacing after comment hash.
parent
d382def1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
setuptools/command/build_ext.py
setuptools/command/build_ext.py
+1
-1
setuptools/package_index.py
setuptools/package_index.py
+3
-3
setuptools/site-patch.py
setuptools/site-patch.py
+1
-1
No files found.
setuptools/command/build_ext.py
View file @
dd25d1f8
...
...
@@ -62,7 +62,7 @@ if_dl = lambda s: s if have_rtld else ''
def
get_abi3_suffix
():
"""Return the file extension for an abi3-compliant Extension()"""
for
suffix
,
_
,
_
in
(
s
for
s
in
imp
.
get_suffixes
()
if
s
[
2
]
==
imp
.
C_EXTENSION
):
if
'.abi3'
in
suffix
:
# Unix
if
'.abi3'
in
suffix
:
# Unix
return
suffix
elif
suffix
==
'.pyd'
:
# Windows
return
suffix
...
...
setuptools/package_index.py
View file @
dd25d1f8
...
...
@@ -515,10 +515,10 @@ class PackageIndex(Environment):
"""
Add
`urls`
to
the
list
that
will
be
prescanned
for
searches
"""
for url in urls:
if (
self.to_scan is None
# if we have already "gone online"
or not URL_SCHEME(url)
# or it's a local file/directory
self.to_scan is None # if we have already "gone online"
or not URL_SCHEME(url) # or it's a local file/directory
or url.startswith('file:')
or list(distros_for_url(url))
# or a direct package link
or list(distros_for_url(url)) # or a direct package link
):
# then go ahead and process it now
self.scan_url(url)
...
...
setuptools/site-patch.py
View file @
dd25d1f8
...
...
@@ -13,7 +13,7 @@ def __boot():
for
item
in
stdpath
:
if
item
==
mydir
or
not
item
:
continue
# skip if current dir. on Windows, or my own directory
continue
# skip if current dir. on Windows, or my own directory
importer
=
pic
.
get
(
item
)
if
importer
is
not
None
:
loader
=
importer
.
find_module
(
'site'
)
...
...
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