summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index d358901..68e589c 100644
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,10 @@ c_extension = Extension(
all_extensions = cythonize(
[c_extension, all_extensions],
nthreads=4,
- compiler_directives={"embedsignature": True},
+ compiler_directives={"embedsignature": True,
+ "language_level": 2,
+ "c_string_type": "unicode",
+ "c_string_encoding": "ascii"},
)
setup(