diff options
author | Baruch Sterin <baruchs@gmail.com> | 2012-01-21 18:21:03 -0800 |
---|---|---|
committer | Baruch Sterin <baruchs@gmail.com> | 2012-01-21 18:21:03 -0800 |
commit | 6e72e2fb35e14631b5fe4f2312934c78467139f8 (patch) | |
tree | 98ed66e77b73682a77cf54dd1a697df211ceb6cc /src | |
parent | 8014f25f6db719fa62336f997963532a14c568f6 (diff) | |
download | abc-6e72e2fb35e14631b5fe4f2312934c78467139f8.tar.gz abc-6e72e2fb35e14631b5fe4f2312934c78467139f8.tar.bz2 abc-6e72e2fb35e14631b5fe4f2312934c78467139f8.zip |
pyabc: adapt build to recent changes in the rest of ABC
Diffstat (limited to 'src')
-rw-r--r-- | src/python/pyabc.i | 4 | ||||
-rw-r--r-- | src/python/setup.py | 21 |
2 files changed, 3 insertions, 22 deletions
diff --git a/src/python/pyabc.i b/src/python/pyabc.i index 1da81016..2b8983cd 100644 --- a/src/python/pyabc.i +++ b/src/python/pyabc.i @@ -22,8 +22,8 @@ %{ -#include <main.h> -#include <utilCex.h> +#include <src/base/main/main.h> +#include <src/misc/util/utilCex.h> #include <stdlib.h> #include <signal.h> diff --git a/src/python/setup.py b/src/python/setup.py index 68a4adae..7889aa87 100644 --- a/src/python/setup.py +++ b/src/python/setup.py @@ -4,25 +4,6 @@ from distutils.core import setup, Extension from distutils.sysconfig import get_config_vars from distutils import util -include_dirs = [ - '../aig/hop', - '../aig/gia', - '../aig/mem', - '../base/abc', - '../base/cmd', - '../base/io', - '../base/main', - '../bdd/cudd', - '../bdd/epd', - '../bdd/mtr', - '../misc/extra', - '../misc/nm', - '../misc/st', - '../misc/util', - '../misc/vec', - '../misc/hash', - ] - define_macros = [] libraries = [] library_dirs = [] @@ -54,7 +35,7 @@ ext = Extension( '_pyabc', src_file, define_macros=define_macros, - include_dirs = include_dirs, + include_dirs = ["../.."], library_dirs=library_dirs, libraries=libraries ) |