forked from mnishida/PyMuller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
61 lines (58 loc) · 1.96 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
from setuptools import setup, find_packages
from setuptools.extension import Extension
from Cython.Build import cythonize
import os
import numpy
version = '0.1.0'
long_description = """
PyMuller is a Python implementation of Muller's root finding method.
"""
extra_compile_args = ['-fPIC', '-m64', '-fopenmp', '-march=native', '-O3',
'-ftree-vectorizer-verbose=2', '-Wl,--no-as-needed']
extra_link_args = ['-shared']
depends = []
mkl_include = '/opt/intel/mkl/include'
mkl_lib = '/opt/intel/mkl/lib/intel64'
library_dirs = [mkl_lib, '/usr/local/lib']
libraries = ['gsl', 'mkl_rt', 'pthread', 'gfortran', 'complex_bessel',
'dl', 'm']
extentions = [
]
ext_modules = cythonize(extentions)
setup(name='pymuller',
version=version,
description="Muller's root finding method",
long_description=long_description,
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords="root finding, Muller's method",
author='Munehiro Nishida',
author_email='[email protected]',
url='http://home.hiroshima-u.ac.jp/mnishida/',
license="'MIT'",
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
test_suite='nose.collector',
zip_safe=False,
install_requires=[
'setuptools',
'numpy',
'scipy'
# -*- Extra requirements: -*-
# 'numpy>=1.7',
# 'scipy>=0.12',
# 'ipython>=1.0'
],
entry_points="""
# -*- Entry points: -*-
""",
ext_modules=ext_modules
)