Debian Codegraph @

debian/patches/use-debian-nauty.patch

raw symbols SCIP
1 Description: Use Debian nauty instead of an embedded copy.
2 Author: Doug Torrance <[email protected]>
3 Forwarded: not-needed
4 Last-Update: 2021-08-01
5
6 --- a/setup.py
7 +++ b/setup.py
8 @@ -59,13 +59,8 @@
9 name = MODULE + '.nautywrap',
10 sources = [ pynauty_dir + '/' + 'nautywrap.c', ],
11 extra_compile_args = [ '-O4', '-fPIC' ],
12 - extra_objects = [ nauty_dir + '/' + 'nauty.o',
13 - nauty_dir + '/' + 'nautil.o',
14 - nauty_dir + '/' + 'naugraph.o',
15 - nauty_dir + '/' + 'schreier.o',
16 - nauty_dir + '/' + 'naurng.o',
17 - ],
18 - include_dirs = [ nauty_dir, pynauty_dir ]
19 + libraries = ['nauty'],
20 + include_dirs = [ pynauty_dir ]
21 )
22 ext_modules = [ ext_pynauty ]
23
24 @@ -90,6 +85,5 @@
25 include_package_data=True,
26 data_files = data_files,
27 ext_modules = ext_modules,
28 - cmdclass = {'build_ext': build_ext},
29 classifiers = classifiers,
30 )
31 --- a/src/pynauty/nautywrap.c
32 +++ b/src/pynauty/nautywrap.c
33 @@ -14,7 +14,7 @@
34
35 #define PY_SSIZE_T_CLEAN
36 #include <Python.h>
37 -#include <nauty.h>
38 +#include <nauty/nauty.h>
39 #include <nautywrap.h>
40
41
42 --- a/src/pynauty/nautywrap.h
43 +++ b/src/pynauty/nautywrap.h
44 @@ -13,7 +13,7 @@
45 */
46
47
48 -#include <nauty.h>
49 +#include <nauty/nauty.h>
50
51 #define WORKSPACE_FACTOR 66
52 #define NUM_GENS_INCR 500