forked from pmorissette/ffn
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
46 lines (40 loc) · 1.05 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
import setuptools
import codecs
import os
import re
def local_file(filename):
return codecs.open(
os.path.join(os.path.dirname(__file__), filename), 'r', 'utf-8'
)
version = re.search(
"^__version__ = \((\d+), (\d+), (\d+)\)$",
local_file('ffn/__init__.py').read(),
re.MULTILINE
).groups()
setuptools.setup(
name="ffn",
version='.'.join(version),
author='Philippe Morissette',
author_email='morissette.philippe@gmail.com',
description='Financial functions for Python',
keywords='python finance quant functions',
url='https://github.com/pmorissette/ffn',
install_requires=[
'decorator',
'numpy',
'pandas',
'pandas_datareader',
'tabulate',
'matplotlib',
'scikit-learn',
'scipy',
'future'
],
packages=['ffn'],
long_description=local_file('README.rst').read(),
classifiers=[
'Development Status :: 3 - Alpha',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python'
]
)