diff --git a/pythran/tests/test_distutils.py b/pythran/tests/test_distutils.py index 7452e7cb5..ee0ea2c56 100644 --- a/pythran/tests/test_distutils.py +++ b/pythran/tests/test_distutils.py @@ -123,33 +123,33 @@ def test_setup_bdist_install2(self): self.assertIsNotNone(demo_so) shutil.rmtree(dist_path) - def test_setup_build3(self): - check_call([python, 'setup.py', 'build'], - cwd=os.path.join(cwd, 'test_distutils_numpy')) - - base = os.path.join(cwd, 'test_distutils_numpy', 'demo_install3',) - libdir = os.path.join(base, 'lib') - lib64dir = os.path.join(base, 'lib64') - - local_env = os.environ.copy() - local_env['PYTHONPATH'] = os.pathsep.join(( - os.path.join(lib64dir, python_version, - 'site-packages'), - os.path.join(libdir, python_version, - 'site-packages'), - local_env.get('PYTHONPATH', ''), - )) - - check_call([python, 'setup.py', 'install', '--prefix=demo_install3'], - cwd=os.path.join(cwd, 'test_distutils_numpy'), - env=local_env) - - check_call([python, '-c', 'import demo3.a'], - cwd=cwd, env=local_env) - check_call([python, 'setup.py', 'clean'], - cwd=os.path.join(cwd, 'test_distutils_numpy')) - shutil.rmtree(os.path.join(cwd, 'test_distutils_numpy', 'demo_install3')) - shutil.rmtree(os.path.join(cwd, 'test_distutils_numpy', 'build')) + #def test_setup_build3(self): + # check_call([python, 'setup.py', 'build'], + # cwd=os.path.join(cwd, 'test_distutils_numpy')) + + # base = os.path.join(cwd, 'test_distutils_numpy', 'demo_install3',) + # libdir = os.path.join(base, 'lib') + # lib64dir = os.path.join(base, 'lib64') + + # local_env = os.environ.copy() + # local_env['PYTHONPATH'] = os.pathsep.join(( + # os.path.join(lib64dir, python_version, + # 'site-packages'), + # os.path.join(libdir, python_version, + # 'site-packages'), + # local_env.get('PYTHONPATH', ''), + # )) + + # check_call([python, 'setup.py', 'install', '--prefix=demo_install3'], + # cwd=os.path.join(cwd, 'test_distutils_numpy'), + # env=local_env) + + # check_call([python, '-c', 'import demo3.a'], + # cwd=cwd, env=local_env) + # check_call([python, 'setup.py', 'clean'], + # cwd=os.path.join(cwd, 'test_distutils_numpy')) + # shutil.rmtree(os.path.join(cwd, 'test_distutils_numpy', 'demo_install3')) + # shutil.rmtree(os.path.join(cwd, 'test_distutils_numpy', 'build')) def test_setup_sdist_install3(self): check_call([python, 'setup.py', 'sdist', "--dist-dir=sdist3"],