forked from simpeg/simpegEM1D
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
68 lines (62 loc) · 2.31 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/usr/bin/env python
from __future__ import print_function
"""simpegEM1D
simpegEM1D is the package for simulation and inversion of
electromagnetic data using 1D layered-earth solution.
"""
import setuptools
from numpy.distutils.core import setup, Extension
from setuptools import find_packages
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Physics',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS',
'Natural Language :: English',
]
with open('README.md') as f:
LONG_DESCRIPTION = ''.join(f.readlines())
fExt = [Extension(name='simpegEM1D.m_rTE_Fortran', # Name of the package to import
sources=['simpegEM1D/Fortran/m_rTE_Fortran.f90'],
# extra_f90_compile_args=['-ffree-line-length-none', #This if for intel-fortran
# '-O3',
# '-finline-functions',
# '-funroll-all-loops',
# '-DNDEBUG',
# '-g0'],
extra_link_args=['-ffree-line-length-none',
'-O3',
'-finline-functions',
'-funroll-all-loops',
'-g0'],
)
]
setup(
name='simpegEM1D',
version='0.0.18a',
packages=find_packages(),
install_requires=[
'SimPEG>=0.4.1',
'empymod>=1.6.2',
'multiprocess'
],
author='Seogi Kang',
author_email='skang@eoas.ubc.ca',
description='simpegEM1D',
long_description=LONG_DESCRIPTION,
keywords='geophysics, electromagnetics',
url='https://github.com/simpeg/simpegEM1D',
download_url='https://github.com/simpeg/simpegEM1D',
classifiers=CLASSIFIERS,
platforms=['Windows', 'Linux', 'Solaris', 'Mac OS-X', 'Unix'],
license='MIT License',
ext_modules=fExt
)