Actually compile under 3.x feature level.
author |
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
date |
Wed, 26 Nov 2014 13:37:07 +0100 |
parents |
3c2f96f1d715 |
children |
725bd24235a2 |
files |
pytouhou/lib/sdl.pxd setup.py |
diffstat |
2 files changed, 2 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/pytouhou/lib/sdl.pxd
+++ b/pytouhou/lib/sdl.pxd
@@ -12,7 +12,7 @@
## GNU General Public License for more details.
##
-from _sdl cimport *
+from ._sdl cimport *
cdef SDL_GLattr GL_CONTEXT_MAJOR_VERSION
--- a/setup.py
+++ b/setup.py
@@ -158,6 +158,7 @@ setup(name='PyTouhou',
license='GPLv3',
packages=packages,
ext_modules=cythonize(extensions, nthreads=nthreads, annotate=debug,
+ language_level=3,
compiler_directives={'infer_types': True,
'infer_types.verbose': debug,
'profile': debug},