No description
Find a file
2004-09-14 06:25:29 -04:00
scripts misc maintenance changes 2004-08-24 19:23:32 -04:00
acprep make config_t visible to Python; almost possible to implement main.cc in main.py 2004-09-14 06:25:29 -04:00
amount.cc improvements to python exposure of commodity_t 2004-09-11 02:18:04 -04:00
amount.h improvements to python exposure of commodity_t 2004-09-11 02:18:04 -04:00
amounts.py balances and values can now be iterated, to get at the component amounts 2004-09-08 04:13:02 -04:00
autoxact.cc the amount/balance/value logic is now a library, completely separate from ledger 2004-08-29 23:32:29 -04:00
autoxact.h a little more reorganizing, but only fractionally faster. diminishing returns! 2004-08-22 02:13:41 -04:00
balance.cc balances and values can now be iterated, to get at the component amounts 2004-09-08 04:13:02 -04:00
balance.h balances and values can now be iterated, to get at the component amounts 2004-09-08 04:13:02 -04:00
binary.cc change commodity->symbol to const, and added set_symbol 2004-09-10 05:07:50 -04:00
binary.h the amount/balance/value logic is now a library, completely separate from ledger 2004-08-29 23:32:29 -04:00
config.cc make config_t visible to Python; almost possible to implement main.cc in main.py 2004-09-14 06:25:29 -04:00
config.h make config_t visible to Python; almost possible to implement main.cc in main.py 2004-09-14 06:25:29 -04:00
configure.in removed the "standalone" flag (unsafe with Boost) 2004-08-28 04:48:43 -04:00
datetime.cc interval_t objects now play nicely with python. see the bottom of main.py 2004-09-10 18:38:52 -04:00
datetime.h interval_t objects now play nicely with python. see the bottom of main.py 2004-09-10 18:38:52 -04:00
debug.cc cleanup; fully switched to autoconf -- use scripts/acprep 2004-08-24 02:11:32 -04:00
debug.h added asserts to, and proof-read, amount.cc 2004-08-25 17:34:23 -04:00
error.h the amount/balance/value logic is now a library, completely separate from ledger 2004-08-29 23:32:29 -04:00
format.cc added support for ValueExpr objects to python. 2004-09-10 20:08:07 -04:00
format.h make config_t visible to Python; almost possible to implement main.cc in main.py 2004-09-14 06:25:29 -04:00
gnucash.cc change commodity->symbol to const, and added set_symbol 2004-09-10 05:07:50 -04:00
gnucash.h updated gnucash support 2004-08-20 02:51:14 -04:00
journal.cc Python fixes; starting adding support for using item_handlers in python 2004-09-08 21:21:21 -04:00
ledger.el fixed two memory corruption bugs 2004-08-25 21:02:07 -04:00
ledger.h Python fixes; starting adding support for using item_handlers in python 2004-09-08 21:21:21 -04:00
ledger.texi make config_t visible to Python; almost possible to implement main.cc in main.py 2004-09-14 06:25:29 -04:00
LICENSE removed a period 2004-08-23 08:26:26 -04:00
main.cc make config_t visible to Python; almost possible to implement main.cc in main.py 2004-09-14 06:25:29 -04:00
main.py make config_t visible to Python; almost possible to implement main.cc in main.py 2004-09-14 06:25:29 -04:00
Makefile.am make config_t visible to Python; almost possible to implement main.cc in main.py 2004-09-14 06:25:29 -04:00
NEWS make config_t visible to Python; almost possible to implement main.cc in main.py 2004-09-14 06:25:29 -04:00
option.cc make config_t visible to Python; almost possible to implement main.cc in main.py 2004-09-14 06:25:29 -04:00
option.h make config_t visible to Python; almost possible to implement main.cc in main.py 2004-09-14 06:25:29 -04:00
parser.cc added (disabled) code for Boost.Python 2004-08-27 23:38:39 -04:00
parser.h added (disabled) code for Boost.Python 2004-08-27 23:38:39 -04:00
pyamounts.cc added some more python files 2004-08-29 23:33:22 -04:00
pyledger.cc make config_t visible to Python; almost possible to implement main.cc in main.py 2004-09-14 06:25:29 -04:00
python.cc ledger.so can now call back to functions in the calling interpretor (see main.py) 2004-09-14 05:14:58 -04:00
python.h python integrated both ways (see sample.dat), and initialized on-demand 2004-09-14 04:47:41 -04:00
qif.cc redid the way amount_t::commodity is handled; no more direct access 2004-08-29 04:31:59 -04:00
qif.h fixes 2004-08-19 22:05:22 -04:00
quotes.cc redid the way amount_t::commodity is handled; no more direct access 2004-08-29 04:31:59 -04:00
quotes.h redid the way amount_t::commodity is handled; no more direct access 2004-08-29 04:31:59 -04:00
README removed the "standalone" flag (unsafe with Boost) 2004-08-28 04:48:43 -04:00
sample.dat ledger.so can now call back to functions in the calling interpretor (see main.py) 2004-09-14 05:14:58 -04:00
setup.py python integrated both ways (see sample.dat), and initialized on-demand 2004-09-14 04:47:41 -04:00
textual.cc make config_t visible to Python; almost possible to implement main.cc in main.py 2004-09-14 06:25:29 -04:00
textual.h fixes 2004-08-19 22:05:22 -04:00
timing.h fix 2004-08-14 01:29:16 -04:00
util.h fixes 2004-08-17 16:41:07 -04:00
valexpr.cc python integrated both ways (see sample.dat), and initialized on-demand 2004-09-14 04:47:41 -04:00
valexpr.h python integrated both ways (see sample.dat), and initialized on-demand 2004-09-14 04:47:41 -04:00
value.cc added more math operators for value_t types 2004-09-14 05:05:56 -04:00
value.h added more math operators for value_t types 2004-09-14 05:05:56 -04:00
walk.cc interval_t objects now play nicely with python. see the bottom of main.py 2004-09-10 18:38:52 -04:00
walk.h interval_t objects now play nicely with python. see the bottom of main.py 2004-09-10 18:38:52 -04:00

Welcome to Ledger, a command-line accounting program.

Quick start
===========

To build Ledger, you will first need these two libraries installed:

    gmp        GNU multi-precision library
    pcre       Perl regular expression library

If you wish to read Gnucash data files, you will also need two XML
libraries, which may or may not be available in a single package (it
depends on your distribution):

    xmlparse
    xmltok

Once you have determined where the headers and libraries for the above
packages are installed, run the script "configure", passing those
paths.  If you installed everything under /usr/local, you can probably
just type "./configure".  Otherwise, do this:

    ./configure CPPFLAGS=-I<INCLUDE-PATH>  LDFLAGS=-L<LIBRARY-PATH>

If you need to specify multiple include or library paths, then do
this:

    ./configure CPPFLAGS="-I<PATH1> -I<PATH2>"  LDFLAGS="-L<PATH1> -L<PATH2>"

Once configure is done running, just type:

    make install

Building Ledger as a Python Module
==================================

If you have Python 2.2 or higher installed, and Boost.Python, then
Ledger will also be built as a Python module.  This means you can
interact with your Ledger data from Python, making it easier to write
very custom reporting code.  See the developer documentation for
information on Ledger's interfaces, and for some example reports
written in Python.