Commit a067f46c authored by rna's avatar rna Committed by Andreas Schmidt

Fix setup.py.

parent 8e7a1bae
from setuptools import setup
from distutils.extension import Extension
from Cython.Build import cythonize
import os
import os, errno
import versioneer
os.environ["CC"] = "gcc-5"
os.environ["CXX"] = "g++-5"
ext = Extension(name='prrt', sources=["prrt/*.pyx"])
try:
os.remove(os.path.join(os.path.dirname(os.path.realpath(__file__)), "prrt/prrt.c"))
except OSError as e:
if e.errno != errno.ENOENT:
raise
ext_modules = cythonize(ext, gdb_debug=True)
setup(
name='prrt',
version=versioneer.get_version(),
......
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