Skip to content

Instantly share code, notes, and snippets.

@nskrypnik
Created November 15, 2013 13:19
Show Gist options
  • Save nskrypnik/7484212 to your computer and use it in GitHub Desktop.
Save nskrypnik/7484212 to your computer and use it in GitHub Desktop.
Patch for cythonize file to build cymunk properly
diff --git a/tools/cythonize.py b/tools/cythonize.py
index 2963624..a64585d 100755
--- a/tools/cythonize.py
+++ b/tools/cythonize.py
@@ -29,7 +29,7 @@ def do(fn):
# cythonize
subprocess.Popen([cython, fn], env=os.environ).communicate()
- if not package:
+ if not package or package == 'cymunk_python':
print 'no need to rewrite', fn
else:
# get the .c, and change the initXXX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment