From ce3491c99f089874725999ca6d8b1fb6a15c9e5e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 15 Feb 2006 20:10:49 +0000 Subject: Removed Python integration support. --- setup.py | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100755 setup.py (limited to 'setup.py') diff --git a/setup.py b/setup.py deleted file mode 100755 index 79ed0d5f..00000000 --- a/setup.py +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env python - -from distutils.core import setup, Extension - -import os - -libs = ["ledger", "boost_python", "gmp", "pcre"] - -if os.environ.has_key ("HAVE_EXPAT") and\ - os.environ["HAVE_EXPAT"] == "true": - libs.extend (["expat"]) - -if os.environ.has_key ("HAVE_XMLPARSE") and\ - os.environ["HAVE_XMLPARSE"] == "true": - libs.extend (["xmlparse", "xmltok"]) - -if os.environ.has_key ("HAVE_LIBOFX") and\ - os.environ["HAVE_LIBOFX"] == "true": - libs.extend (["ofx"]) - -setup(name = "Ledger", - version = "2.5", - description = "Ledger Accounting Tool", - author = "John Wiegley", - author_email = "johnw@newartisans.com", - url = "http://www.newartisans.com/ledger.html", - ext_modules = [ - Extension("ledger", ["pyledger.cc"], - define_macros = [('PYTHON_MODULE', 1)], - libraries = libs)]) -- cgit v1.2.3