diff options
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)]) |