Skip to content
Snippets Groups Projects
Commit 8159ab03 authored by Radek Hušek's avatar Radek Hušek
Browse files

fix building groupConnectivity.so

parent e054d7a8
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ default: groupConnectivity.so clean_obj
groupConnectivity.so: groupConnectivity.pyx group-connectivity.h setup.py compileTimeOptions.h generateCompileTimeOptions.sh rings.h fast-array.h twoCuts.h parmap.py groupConnectivityNaive.py
./generateCompileTimeOptions.sh > options.h
python setup.py build_ext
python2 setup.py build_ext
cp build/lib*/groupConnectivity.so .
clean_obj:
......
......@@ -155,6 +155,7 @@ if __name__ == "__main__":
(f, t) = doctest.testmod()
print "%s: %i tests of %i failed." % (__file__, f, t)
if f > 0:
from sys import exit
exit(1)
......@@ -146,5 +146,6 @@ if __name__ == "__main__":
(f, t) = doctest.testmod()
print "%s: %i tests of %i failed." % (__file__, f, t)
if f > 0:
from sys import exit
exit(1)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment