[fix] pytokenize compilation on Ubuntu/gcc

This commit is contained in:
Al
2015-09-21 03:24:14 -04:00
parent cffa5a4a20
commit 5b2fd0be50
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
#include <Python.h>
#include "scanner.h"
#include "src/scanner.h"
#if PY_MAJOR_VERSION >= 3
#define IS_PY3K

View File

@@ -21,7 +21,7 @@ def main():
os.path.join(SRC_DIR, 'utf8proc/utf8proc.c'),
'python/postal/text/pytokenize.c',
],
include_dirs=[SRC_DIR],
include_dirs=['.'],
extra_compile_args=['-O0'],
),