File: installsetup.py

package info (click to toggle)
cbflib 0.9.7%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 65,272 kB
  • sloc: ansic: 131,361; python: 22,780; sh: 3,108; makefile: 2,088; yacc: 659; java: 223; f90: 214; xml: 210; cpp: 58
file content (13 lines) | stat: -rw-r--r-- 419 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Import the things to build python binary extensions

from distutils.core import setup, Extension

# Make our extension module

e = Extension('_pycbf',
              sources = ["pycbf_wrap.c","../src/cbf_simple.c","../src/cbf_airy_disk.c"],
         extra_compile_args=["-g"],
         libraries=["_cbf"],
         include_dirs = ["../include"] )
# Build it
setup(name="_pycbf",ext_modules=[e],py_modules = ['pycbf'])