#!/usr/bin/env python
# To use:
#       python setup.py install
#
import os, sys, string, re
from glob import glob
    
import distutils

#try:
import distutils
from distutils.command.install import install
from distutils.core import setup, Extension
# except:
#    raise SystemExit, "Distutils problem, see Numeric README."

headers = glob (os.path.join ("Include","*.h") )
header = headers + glob (os.path.join ("Include/Numeric","*.h") ) 




library_dirs_list = ["/usr/local/lib", "/sware/exp/scisoft/AMARCORD/suse62/lib"]
libraries_list = ["lapack", "blas"]




# The version is set in Lib/numeric_version.py

setup (name = "extension",
       description = " Extension to Python",
       ext_modules = [Extension('PPMcore',
                                ['PPMcore.cc'], libraries=['stdc++','gcc','m']+ libraries_list,
                           library_dirs=library_dirs_list,
                           ) 
                     ]
       )







