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
9ea9ca10
Commit
9ea9ca10
authored
Jun 19, 2013
by
Vinay Sajip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tidied up imports.
--HG-- branch : single-codebase
parent
f91bf392
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
10 deletions
+4
-10
setuptools.egg-info/requires.txt
setuptools.egg-info/requires.txt
+3
-3
setuptools/ssl_support.py
setuptools/ssl_support.py
+0
-5
setuptools/tests/test_sdist.py
setuptools/tests/test_sdist.py
+1
-2
No files found.
setuptools.egg-info/requires.txt
View file @
9ea9ca10
[ssl:python_version in '2.4, 2.5']
ssl==1.16
[ssl:sys_platform=='win32' and python_version=='2.4']
ctypes==1.0.2
[ssl:python_version in '2.4, 2.5']
ssl==1.16
[certs]
certifi==0.0.8
...
...
setuptools/ssl_support.py
View file @
9ea9ca10
...
...
@@ -3,11 +3,6 @@ import pkg_resources
from
pkg_resources
import
ResolutionError
,
ExtractionError
from
setuptools.compat
import
urllib2
try
:
import
urllib2
except
ImportError
:
import
urllib.request
as
urllib2
try
:
import
ssl
except
ImportError
:
...
...
setuptools/tests/test_sdist.py
View file @
9ea9ca10
...
...
@@ -9,7 +9,6 @@ import tempfile
import
unittest
import
unicodedata
from
setuptools.compat
import
StringIO
,
unicode
from
setuptools.command.sdist
import
sdist
from
setuptools.command.egg_info
import
manifest_maker
...
...
@@ -56,7 +55,7 @@ def b(s, encoding='utf-8'):
# Convert to POSIX path
def
posix
(
path
):
if
sys
.
version_info
>=
(
3
,)
and
not
isinstance
(
path
,
unicode
):
if
sys
.
version_info
>=
(
3
,)
and
not
isinstance
(
path
,
str
):
return
path
.
replace
(
os
.
sep
.
encode
(
'ascii'
),
b
(
'/'
))
else
:
return
path
.
replace
(
os
.
sep
,
'/'
)
...
...
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