broccoli/bindings/broccoli-python not building correctly

Description

The setup.py routine fails due to path changes in 2.3, namely that the broccoli.h file is now in ../../build/src, as is the resulting library.

This patch appears to work:

diff --git a/setup.py b/setup.py
index 8a017f1..9cd19ae 100755
— a/setup.py
+++ b/setup.py
@@ -12,8 +12,8 @@ setup(name="broccoli-python",
py_modules=['broccoli'],
ext_modules = [
Extension("_broccoli_intern", ["broccoli_intern_wrap.c"],

  • include_dirs=["../../src"],

  • library_dirs=["../../src/.libs"],
    + include_dirs=["../../build/src"],
    + library_dirs=["../../build/src"],
    libraries=["broccoli"])]
    )

Environment

OS-X 10.9.3

Merged

Assignee

Robin Sommer

Reporter

Nicholas Weaver

Labels

None

External issue ID

None

Components

Affects versions

Priority

Normal