diff options
author | John Wiegley <johnw@newartisans.com> | 2004-09-08 02:00:20 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-09-08 02:00:20 -0400 |
commit | 612e94ceaa1f063250b706530b9515ce77b32c59 (patch) | |
tree | 212db5725bcf17b80f92b23d54ce11a978b3e143 | |
parent | 6cfdd704a919753e2e697935e27b80bbe53ae894 (diff) | |
download | fork-ledger-612e94ceaa1f063250b706530b9515ce77b32c59.tar.gz fork-ledger-612e94ceaa1f063250b706530b9515ce77b32c59.tar.bz2 fork-ledger-612e94ceaa1f063250b706530b9515ce77b32c59.zip |
setup_ledger.py needs to link against libgmp
-rw-r--r-- | main.py | 6 | ||||
-rwxr-xr-x | setup_ledger.py | 3 |
2 files changed, 4 insertions, 5 deletions
@@ -10,15 +10,13 @@ def bar (str): register_option ("hello", "h:", foo) register_option ("goodbye", "g:", bar) -print process_arguments (sys.argv[1:]) +args = process_arguments (sys.argv[1:]) process_environment (os.environ, "TEST_") -sys.exit(0) - parser = TextualParser () register_parser (parser) journal = Journal () -parse_journal_file (sys.argv[1], journal) +parse_journal_file (args[0], journal) print journal[-1].payee diff --git a/setup_ledger.py b/setup_ledger.py index bb8a78b0..71d8f56a 100755 --- a/setup_ledger.py +++ b/setup_ledger.py @@ -11,5 +11,6 @@ setup(name = "Ledger", ext_modules = [ Extension("ledger", ["pyledger.cc"], define_macros = [('PYTHON_MODULE', None)], - libraries = ["amounts_bpy", "ledger_bpy", "boost_python", + libraries = ["amounts_bpy", "gmp", + "ledger_bpy", "boost_python", "pcre", "xmlparse", "xmltok"])]) |