changeset 607:9dbc234ea087

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 wrap: on
line diff
--- a/pytouhou/lib/sdl.pxd	Wed Nov 26 13:36:38 2014 +0100
+++ b/pytouhou/lib/sdl.pxd	Wed Nov 26 13:37:07 2014 +0100
@@ -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	Wed Nov 26 13:36:38 2014 +0100
+++ b/setup.py	Wed Nov 26 13:37:07 2014 +0100
@@ -158,6 +158,7 @@
       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},