Created
November 15, 2013 13:19
-
-
Save nskrypnik/7484212 to your computer and use it in GitHub Desktop.
Patch for cythonize file to build cymunk properly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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