def setUp(self): CythonTest.setUp(self) self.temp_dir = tempfile.mkdtemp( prefix='cycache-test', dir='TEST_TMP' if os.path.isdir('TEST_TMP') else None) self.src_dir = tempfile.mkdtemp(prefix='src', dir=self.temp_dir) self.cache_dir = tempfile.mkdtemp(prefix='cache', dir=self.temp_dir)
def setUp(self): CythonTest.setUp(self) self.test_kwds = dict(test_kwds) if os.path.isdir('TEST_TMP'): lib_dir = os.path.join('TEST_TMP', 'inline') else: lib_dir = tempfile.mkdtemp(prefix='cython_inline_') self.test_kwds['lib_dir'] = lib_dir
def setUp(self): CythonTest.setUp(self) self.test_kwds = dict(test_kwds) if os.path.isdir('BUILD'): lib_dir = os.path.join('BUILD','inline') else: lib_dir = tempfile.mkdtemp(prefix='cython_inline_') self.test_kwds['lib_dir'] = lib_dir
def setUp(self): CythonTest.setUp(self) self.test_kwds = dict(test_kwds) if os.path.isdir("TEST_TMP"): lib_dir = os.path.join("TEST_TMP", "inline") else: lib_dir = tempfile.mkdtemp(prefix="cython_inline_") self.test_kwds["lib_dir"] = lib_dir
def setUp(self): CythonTest.setUp(self) self._ip.extension_manager.load_extension('cython')
def setUp(self): CythonTest.setUp(self) ip.extension_manager.load_extension('cython')
def setUp(self): CythonTest.setUp(self) self.temp_dir = (tempfile.mkdtemp( prefix='recythonize-test', dir='TEST_TMP' if os.path.isdir('TEST_TMP') else None))