diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-08 02:50:05 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-08 02:50:05 -0400 |
commit | 0db8d69796d1d01eb25026efc2316c20a29f5d79 (patch) | |
tree | 492bb13f1b093a42b5f0ec72bc604d417cff491d /setup.py | |
parent | ec1518d538d51f2042f87877b09d47c242028b01 (diff) | |
download | fork-ledger-0db8d69796d1d01eb25026efc2316c20a29f5d79.tar.gz fork-ledger-0db8d69796d1d01eb25026efc2316c20a29f5d79.tar.bz2 fork-ledger-0db8d69796d1d01eb25026efc2316c20a29f5d79.zip |
The Boost.Python module is building again.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,7 +4,8 @@ from distutils.core import setup, Extension import os -libs = ["amounts", "boost_python", "gmp"] +defines = [('PYTHON_MODULE', 1)] +libs = ["amounts", "boost_python", "gmp"] setup(name = "Amounts", version = "2.6.1", @@ -13,6 +14,6 @@ setup(name = "Amounts", author_email = "johnw@newartisans.com", url = "http://www.newartisans.com/johnw/", ext_modules = [ - Extension("amounts", ["amounts.cc"], + Extension("amounts", [os.path.join(os.environ['SRCDIR'], "amounts.cc")], define_macros = [('PYTHON_MODULE', 1)], libraries = libs)]) |