-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (47 loc) · 1.7 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
#!/usr/bin/env python
"""
TracyWidom.py
Generate Tracy-Widom distribution functions
Author: Yao-Yuan Mao (yymao)
Project website: https://github.com/yymao/TracyWidom
The MIT License (MIT)
Copyright (c) 2013-2021 Yao-Yuan Mao
http://opensource.org/licenses/MIT
"""
import os
from setuptools import setup
def _get_version(file_path):
with open(os.path.join(os.path.dirname(__file__), file_path)) as f:
for line in f:
if line.startswith("__version__"):
return line.partition('=')[2].strip().strip(" '\"")
raise ValueError('__version__ not define!')
__version__ = _get_version("TracyWidom.py")
setup(
name="TracyWidom",
version=__version__,
description='Generate Tracy-Widom distribution functions',
url='https://github.com/yymao/TracyWidom',
download_url='https://github.com/yymao/TracyWidom/archive/v{}.tar.gz'.format(__version__),
author='Yao-Yuan Mao',
author_email='[email protected]',
maintainer='Yao-Yuan Mao',
maintainer_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Physics',
],
keywords='Tracy-Widom',
py_modules=["TracyWidom"],
install_requires=['numpy>=1.7.0', 'scipy>=0.13.0'],
)