diff options
author | John Wiegley <johnw@newartisans.com> | 2006-02-15 20:10:49 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:21 -0400 |
commit | ce3491c99f089874725999ca6d8b1fb6a15c9e5e (patch) | |
tree | c48a2bf19a954c8103a02e26f9a1a490b8095268 /main.cc | |
parent | 2eafddc91b8d7f0b7bdfd991acdc9e0b2295e304 (diff) | |
download | fork-ledger-ce3491c99f089874725999ca6d8b1fb6a15c9e5e.tar.gz fork-ledger-ce3491c99f089874725999ca6d8b1fb6a15c9e5e.tar.bz2 fork-ledger-ce3491c99f089874725999ca6d8b1fb6a15c9e5e.zip |
Removed Python integration support.
Diffstat (limited to 'main.cc')
-rw-r--r-- | main.cc | 30 |
1 files changed, 0 insertions, 30 deletions
@@ -18,9 +18,6 @@ #endif #include "ledger.h" -#ifdef USE_BOOST_PYTHON -#include "py_eval.h" -#endif #include "timing.h" using namespace ledger; @@ -232,33 +229,6 @@ int parse_and_report(int argc, char * argv[], char * envp[]) else format = &config.print_format; -#ifdef USE_BOOST_PYTHON - - // If Python support is compiled, we can easily report minimum and - // maximum values for each commodity. There is a line in config.cc - // which configures the prices report to call these two functions, - // if Python is available. - - if (command == "P") - python_eval("\ -min_val = 0\n\ -def vmin(d, val):\n\ - global min_val\n\ - if not min_val or val < min_val:\n\ - min_val = val\n\ - return val\n\ - return min_val\n\ -\n\ -max_val = 0\n\ -def vmax(d, val):\n\ - global max_val\n\ - if not max_val or val > max_val:\n\ - max_val = val\n\ - return val\n\ - return max_val\n", PY_EVAL_MULTI); - -#endif // USE_BOOST_PYTHON - TIMER_STOP(process); // Walk the entries based on the report type and the options |