summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2018-10-16 14:55:36 -0400
committerGuillaume Horel <guillaume.horel@gmail.com>2018-10-16 15:05:18 -0400
commitb0190750e6a4a1adf9a8cf24819c7a8625082e8a (patch)
tree11beef35385954335a25438a22f28b38a7904f28 /setup.py
parentaaa78a5aeba58ef52adcd1fad27a0b1ae8fd8f5a (diff)
downloadpyisda-b0190750e6a4a1adf9a8cf24819c7a8625082e8a.tar.gz
auto encode
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(