forked from arraystream/fftoptionlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
39 lines (31 loc) · 1.33 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
import sys
from setuptools import setup, find_packages
exec(open('fftoptionlib/version.py').read())
def check_python_version():
if sys.version_info[:2] < (3, 4):
print('Python 3.4 or newer is required. Python version detected: {}'.format(sys.version_info))
sys.exit(-1)
def main():
setup(name='fftoptionlib',
version=__version__,
author='ArrayStream (Yu Zheng, Ran Fan)',
author_email='team@arraystream.com',
url='https://github.com/arraystream/fftoptionlib',
description='FFT-based Option Pricing Method in Python',
long_description='FFT-based Option Pricing Method in Python',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Scientific/Engineering :: Mathematics',
'Intended Audience :: Financial and Insurance Industry'
],
license='BSD',
packages=find_packages(include=['fftoptionlib']),
install_requires=['numpy', 'scipy', 'pandas', 'autograd'],
platforms='any')
if __name__ == '__main__':
check_python_version()
main()