Skip to content

Commit 22c1f5a

Browse files
authored
Merge pull request #100 from PyCOMPLETE/feature/cython-python3
setup: adding cython support for python3
2 parents 36590ff + 6622c9c commit 22c1f5a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

setup.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
import numpy as np
77
from PyHEADTAIL._version import __version__
88

9-
import re, os, sys, subprocess
10-
import numpy as np
9+
import os, sys, subprocess
1110

1211
from setuptools import setup, Extension, find_packages
1312

@@ -55,7 +54,10 @@
5554
# Set up extension and build
5655
cy_ext_options = {
5756
"compiler_directives": {"profile": False, # SLOW!!!
58-
"embedsignature": True},
57+
"embedsignature": True,
58+
"linetrace": False,
59+
"language_level": sys.version_info[0],
60+
},
5961
"annotate": True,
6062
}
6163
cy_ext = [

0 commit comments

Comments
 (0)