Commit 09c538c8 authored by Lisandro Dalcin's avatar Lisandro Dalcin

fix typo in Makefile and remove make logfile after run

parent 032c1738
# Makefile for creating our standalone Cython program # Makefile for creating our standalone Cython program
PYTHON=python PYTHON=python
PYVERSION=$(shell ($PYTHON) -c "import sys; print(sys.version[:3])") PYVERSION=$(shell $(PYTHON) -c "import sys; print(sys.version[:3])")
PYPREFIX=$(shell $(PYTHON) -c "import sys; print(sys.prefix)") PYPREFIX=$(shell $(PYTHON) -c "import sys; print(sys.prefix)")
LINKFORSHARED=$(shell $(PYTHON) -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LINKFORSHARED'))") LINKFORSHARED=$(shell $(PYTHON) -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LINKFORSHARED'))")
INCLUDES=-I$(PYPREFIX)/include/python$(PYVERSION) INCLUDES=-I$(PYPREFIX)/include/python$(PYVERSION)
......
...@@ -633,6 +633,10 @@ class EmbedTest(unittest.TestCase): ...@@ -633,6 +633,10 @@ class EmbedTest(unittest.TestCase):
def test_embed(self): def test_embed(self):
self.assert_(os.system( self.assert_(os.system(
"make PYTHON='%s' test > make.output" % sys.executable) == 0) "make PYTHON='%s' test > make.output" % sys.executable) == 0)
try:
os.remove('make.output')
except OSError:
pass
class MissingDependencyExcluder: class MissingDependencyExcluder:
def __init__(self, deps): def __init__(self, deps):
......
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