summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-26 14:13:10 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-26 14:13:10 -0400
commit082614a0869cde22d94fce525c5639f5e2f49700 (patch)
treefacf43a793ffeb4d5929f19379e10ef7a707acf5 /python
parente72de399c753c17ac0f024bee78842092f8598d1 (diff)
downloadfork-ledger-082614a0869cde22d94fce525c5639f5e2f49700.tar.gz
fork-ledger-082614a0869cde22d94fce525c5639f5e2f49700.tar.bz2
fork-ledger-082614a0869cde22d94fce525c5639f5e2f49700.zip
Pass $(srcdir) down to python/setup.py, so it can find pyledger.cc.
Diffstat (limited to 'python')
-rwxr-xr-xpython/setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/setup.py b/python/setup.py
index 26e74cf0..e040f51d 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -14,5 +14,5 @@ setup(name = "Ledger",
author_email = "johnw@newartisans.com",
url = "http://www.newartisans.com/software/ledger.html",
ext_modules = [
- Extension("ledger", ['python/pyledger.cc'],
+ Extension("ledger", [os.environ["SRCDIR"] + '/python/pyledger.cc'],
define_macros = defines, libraries = libs)])