Commit ba769828 authored by Oleg Sharov's avatar Oleg Sharov

import internal version of six

parent ad80b390
...@@ -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 setuptools.extern.six.moves.urllib.request import urlopen, Request
from six.moves.urllib.error import HTTPError from setuptools.extern.six.moves.urllib.error import HTTPError
from six.moves.urllib.parse import urlparse from setuptools.extern.six.moves.urllib.parse import urlparse
class upload(orig.upload): class upload(orig.upload):
""" """
......
...@@ -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):
""" """
......
...@@ -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):
......
...@@ -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 setuptools.extern.six.moves import urllib
def _system_call(*args): def _system_call(*args):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment