-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
18 lines (16 loc) · 793 Bytes
/
setup.py
File metadata and controls
18 lines (16 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/python
from distutils.core import setup, Extension
cxform = Extension('magnetosphere.cxform', sources = ['cxformmodule.c',
'cxform-manual.c', 'cxform-auto.c'])
igrf = Extension('magnetosphere.igrf', sources = ['igrf_sub.c',
'igrfmodule.c'], libraries = ['m', 'f2c'], library_dirs = ['/usr/lib/'])
rigidity = Extension('magnetosphere.rigidity', sources = ['rigidity.c',
'rigiditymodule.c'], libraries = ['m', 'f2c'], library_dirs = ['/usr/lib/'])
setup(name='Magnetosphere',
version='0.11',
description='A collection of useful libraries for Earth & Space scientists',
author='David Parunakian',
author_email='dp@xientific.info',
url='http://python-magnetosphere.googlecode.com',
ext_modules=[igrf,cxform,rigidity],
packages=['magnetosphere'])