forked from quantopian/alphalens
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
62 lines (57 loc) · 1.8 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
#!/usr/bin/env python
from setuptools import setup, find_packages
import versioneer
import sys
long_description = ''
if 'upload' in sys.argv:
with open('README.rst') as f:
long_description = f.read()
install_reqs = [
'matplotlib>=1.4.0',
'numpy>=1.9.1',
'pandas>=0.18.0',
'scipy>=0.14.0',
'seaborn>=0.6.0',
'statsmodels>=0.6.1',
'IPython>=3.2.3',
'empyrical>=0.5.0',
]
extra_reqs = {
'test': [
"nose>=1.3.7",
"parameterized>=0.5.0",
"tox>=2.3.1",
"flake8>=3.7.9",
],
}
if __name__ == "__main__":
setup(
name='alphalens',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='Performance analysis of predictive (alpha) stock factors',
author='Quantopian Inc.',
author_email='[email protected]',
packages=find_packages(include='alphalens.*'),
package_data={
'alphalens': ['examples/*'],
},
long_description=long_description,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python',
'Topic :: Utilities',
'Topic :: Office/Business :: Financial',
'Topic :: Scientific/Engineering :: Information Analysis',
],
url='https://github.com/quantopian/alphalens',
install_requires=install_reqs,
extras_require=extra_reqs,
)