ledger/setup.py
John Wiegley 9039e728b2 All system headers (except Boost) now included through system.hh;
also, added support for pre-compiled headers since I'm now using a
centralized resource for system headers.
2008-04-13 03:38:31 -04:00

19 lines
552 B
Python
Executable file

#!/usr/bin/env python
from distutils.core import setup, Extension
import os
import string
defines = [('PYTHON_MODULE', 1)]
libs = os.environ["PYLIBS"].split()
setup(name = "Ledger",
version = "3.0",
description = "Ledger Accounting Library",
author = "John Wiegley",
author_email = "johnw@newartisans.com",
url = "http://johnwiegley.com/",
ext_modules = [
Extension("ledger", [os.path.join(os.environ['SRCDIR'], "pyledger.cc")],
define_macros = defines, libraries = libs)])