Commit 642f2059 authored by Stefan Behnel's avatar Stefan Behnel

Remove dead code.

parent fccaedc3
...@@ -66,7 +66,6 @@ except NameError: ...@@ -66,7 +66,6 @@ except NameError:
basestring = str basestring = str
WITH_CYTHON = True WITH_CYTHON = True
CY3_DIR = None
from distutils.command.build_ext import build_ext as _build_ext from distutils.command.build_ext import build_ext as _build_ext
from distutils import sysconfig from distutils import sysconfig
...@@ -1809,10 +1808,7 @@ class EmbedTest(unittest.TestCase): ...@@ -1809,10 +1808,7 @@ class EmbedTest(unittest.TestCase):
if not os.path.isdir(libdir) or libname not in os.listdir(libdir): if not os.path.isdir(libdir) or libname not in os.listdir(libdir):
# report the error for the original directory # report the error for the original directory
libdir = sysconfig.get_config_var('LIBDIR') libdir = sysconfig.get_config_var('LIBDIR')
cython = 'cython.py' cython = os.path.abspath(os.path.join('..', '..', 'cython.py'))
if sys.version_info[0] >=3 and CY3_DIR:
cython = os.path.join(CY3_DIR, cython)
cython = os.path.abspath(os.path.join('..', '..', cython))
try: try:
subprocess.check_output([ subprocess.check_output([
......
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