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
ba769828
Commit
ba769828
authored
Nov 13, 2018
by
Oleg Sharov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
import internal version of six
parent
ad80b390
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
+6
-7
setuptools/command/upload.py
setuptools/command/upload.py
+3
-3
setuptools/tests/test_dist.py
setuptools/tests/test_dist.py
+1
-2
setuptools/tests/test_upload.py
setuptools/tests/test_upload.py
+1
-1
tests/manual_test.py
tests/manual_test.py
+1
-1
No files found.
setuptools/command/upload.py
View file @
ba769828
...
@@ -12,9 +12,9 @@ from distutils.spawn import spawn
...
@@ -12,9 +12,9 @@ from distutils.spawn import spawn
from
distutils.errors
import
DistutilsError
from
distutils.errors
import
DistutilsError
from
six.moves.urllib.request
import
urlopen
,
Request
from
s
etuptools.extern.s
ix.moves.urllib.request
import
urlopen
,
Request
from
six.moves.urllib.error
import
HTTPError
from
s
etuptools.extern.s
ix.moves.urllib.error
import
HTTPError
from
six.moves.urllib.parse
import
urlparse
from
s
etuptools.extern.s
ix.moves.urllib.parse
import
urlparse
class
upload
(
orig
.
upload
):
class
upload
(
orig
.
upload
):
"""
"""
...
...
setuptools/tests/test_dist.py
View file @
ba769828
...
@@ -7,13 +7,12 @@ from setuptools.dist import DistDeprecationWarning, _get_unpatched
...
@@ -7,13 +7,12 @@ from setuptools.dist import DistDeprecationWarning, _get_unpatched
from
setuptools
import
Distribution
from
setuptools
import
Distribution
from
setuptools.extern.six.moves.urllib.request
import
pathname2url
from
setuptools.extern.six.moves.urllib.request
import
pathname2url
from
setuptools.extern.six.moves.urllib_parse
import
urljoin
from
setuptools.extern.six.moves.urllib_parse
import
urljoin
from
setuptools.extern
import
six
from
.textwrap
import
DALS
from
.textwrap
import
DALS
from
.test_easy_install
import
make_nspkg_sdist
from
.test_easy_install
import
make_nspkg_sdist
import
pytest
import
pytest
import
six
def
test_dist_fetch_build_egg
(
tmpdir
):
def
test_dist_fetch_build_egg
(
tmpdir
):
"""
"""
...
...
setuptools/tests/test_upload.py
View file @
ba769828
...
@@ -7,10 +7,10 @@ from distutils.errors import DistutilsError
...
@@ -7,10 +7,10 @@ from distutils.errors import DistutilsError
from
distutils.version
import
StrictVersion
from
distutils.version
import
StrictVersion
import
pytest
import
pytest
import
six
from
setuptools.command.upload
import
upload
from
setuptools.command.upload
import
upload
from
setuptools.dist
import
Distribution
from
setuptools.dist
import
Distribution
from
setuptools.extern
import
six
def
_parse_upload_body
(
body
):
def
_parse_upload_body
(
body
):
...
...
tests/manual_test.py
View file @
ba769828
...
@@ -8,7 +8,7 @@ import subprocess
...
@@ -8,7 +8,7 @@ import subprocess
from
distutils.command.install
import
INSTALL_SCHEMES
from
distutils.command.install
import
INSTALL_SCHEMES
from
string
import
Template
from
string
import
Template
from
six.moves
import
urllib
from
s
etuptools.extern.s
ix.moves
import
urllib
def
_system_call
(
*
args
):
def
_system_call
(
*
args
):
...
...
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