summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-15 11:17:00 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:35:32 -0400
commit479dd85da543b7af8e5f888ff2f2beaf6ff6923b (patch)
tree7a447b52ab366c1f5a9399f9365a45b0879305b4 /setup.py
parent0ef82600e5978495cccb4eed63b1de7094deab04 (diff)
downloadledger-479dd85da543b7af8e5f888ff2f2beaf6ff6923b.tar.gz
ledger-479dd85da543b7af8e5f888ff2f2beaf6ff6923b.tar.bz2
ledger-479dd85da543b7af8e5f888ff2f2beaf6ff6923b.zip
Miscellaneous changes
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py9
1 files changed, 6 insertions, 3 deletions
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)])