File: setup.py

package info (click to toggle)
ledger 2.6.2-3.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 3,076 kB
  • sloc: cpp: 17,785; sh: 10,246; lisp: 2,167; makefile: 205; python: 53; perl: 11
file content (19 lines) | stat: -rwxr-xr-x 595 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env python

from distutils.core import setup, Extension

import os

defines = [('PYTHON_MODULE', 1)]
libs    = ["amounts", "boost_python", "gmp"]

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