Transfers bug patch from orgasm
This commit is contained in:
@ -7,13 +7,13 @@ Created on 13 fevr. 2014
|
|||||||
from distutils import log
|
from distutils import log
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from Cython.Distutils import build_ext as ori_build_ext # @UnresolvedImport
|
|
||||||
|
|
||||||
from Cython.Compiler import Options as cython_options # @UnresolvedImport
|
|
||||||
|
|
||||||
from distutils.errors import DistutilsSetupError
|
from distutils.errors import DistutilsSetupError
|
||||||
|
|
||||||
class build_ext(ori_build_ext):
|
try:
|
||||||
|
from Cython.Distutils import build_ext as ori_build_ext # @UnresolvedImport
|
||||||
|
from Cython.Compiler import Options as cython_options # @UnresolvedImport
|
||||||
|
class build_ext(ori_build_ext):
|
||||||
|
|
||||||
|
|
||||||
def modifyDocScripts(self):
|
def modifyDocScripts(self):
|
||||||
@ -107,6 +107,8 @@ class build_ext(ori_build_ext):
|
|||||||
] + \
|
] + \
|
||||||
ori_build_ext.sub_commands
|
ori_build_ext.sub_commands
|
||||||
|
|
||||||
|
except ImportError:
|
||||||
|
from distutils.command import build_ext # @UnusedImport
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,8 +7,13 @@ Created on 2 oct. 2014
|
|||||||
import re
|
import re
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import pip # @UnresolvedImport
|
try:
|
||||||
from pip.utils import get_installed_distributions # @UnresolvedImport
|
import pip # @UnresolvedImport
|
||||||
|
from pip.utils import get_installed_distributions # @UnresolvedImport
|
||||||
|
except ImportError:
|
||||||
|
from .bootstrappip import bootstrap
|
||||||
|
bootstrap()
|
||||||
|
|
||||||
from distutils.version import StrictVersion # @UnusedImport
|
from distutils.version import StrictVersion # @UnusedImport
|
||||||
from distutils.errors import DistutilsError
|
from distutils.errors import DistutilsError
|
||||||
from distutils import log
|
from distutils import log
|
||||||
|
Reference in New Issue
Block a user