From 479dd85da543b7af8e5f888ff2f2beaf6ff6923b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 15 Apr 2007 11:17:00 +0000 Subject: Miscellaneous changes --- setup.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index c6c70925..1fec814c 100755 --- a/setup.py +++ b/setup.py @@ -4,7 +4,11 @@ from distutils.core import setup, Extension import os -libs = ["ledger", "pyledger", "boost_python", "gmp", "pcre"] +defines = [('PYTHON_MODULE', 1)] + +defines.extend ([('DEBUG_LEVEL', 4)]) + +libs = ["pyledger", "ledger", "boost_python", "gmp", "pcre"] if os.environ.has_key ("HAVE_EXPAT") and\ os.environ["HAVE_EXPAT"] == "true": @@ -26,5 +30,4 @@ setup(name = "Ledger", url = "http://johnwiegley.com/", ext_modules = [ Extension("ledger", ["pyledger.cc"], - define_macros = [('PYTHON_MODULE', 1)], - libraries = libs)]) + define_macros = defines, libraries = libs)]) -- cgit v1.2.3