summaryrefslogtreecommitdiff
path: root/setup.py
blob: 9e2cbbd57727e1f31a6a213ec275989e7a56f7c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env python

from distutils.core import setup, Extension

import os

libs = ["amounts", "boost_python", "gmp"]

setup(name         = "Amounts",
      version      = "2.6.0.90",
      description  = "Amounts and Commodities Library",
      author       = "John Wiegley",
      author_email = "johnw@newartisans.com",
      url          = "http://www.newartisans.com/johnw/",
      ext_modules  = [
    Extension("amounts", ["amounts.cc"],
	      define_macros = [('PYTHON_MODULE', 1)],
	      libraries     = libs)])