Description: Use Debian nauty instead of an embedded copy. Author: Doug Torrance Forwarded: not-needed Last-Update: 2021-08-01 --- a/setup.py +++ b/setup.py @@ -59,13 +59,8 @@ name = MODULE + '.nautywrap', sources = [ pynauty_dir + '/' + 'nautywrap.c', ], extra_compile_args = [ '-O4', '-fPIC' ], - extra_objects = [ nauty_dir + '/' + 'nauty.o', - nauty_dir + '/' + 'nautil.o', - nauty_dir + '/' + 'naugraph.o', - nauty_dir + '/' + 'schreier.o', - nauty_dir + '/' + 'naurng.o', - ], - include_dirs = [ nauty_dir, pynauty_dir ] + libraries = ['nauty'], + include_dirs = [ pynauty_dir ] ) ext_modules = [ ext_pynauty ] @@ -90,6 +85,5 @@ include_package_data=True, data_files = data_files, ext_modules = ext_modules, - cmdclass = {'build_ext': build_ext}, classifiers = classifiers, ) --- a/src/pynauty/nautywrap.c +++ b/src/pynauty/nautywrap.c @@ -14,7 +14,7 @@ #define PY_SSIZE_T_CLEAN #include -#include +#include #include --- a/src/pynauty/nautywrap.h +++ b/src/pynauty/nautywrap.h @@ -13,7 +13,7 @@ */ -#include +#include #define WORKSPACE_FACTOR 66 #define NUM_GENS_INCR 500