forked from pmorissette/ffn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (50 loc) · 1.41 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
import os
import re
import setuptools
with open(os.path.join(os.path.dirname(__file__), "ffn", "__init__.py"), "r") as fp:
version = re.search(
"^__version__ = \\((\\d+), (\\d+), (\\d+)\\)$", fp.read(), re.MULTILINE
).groups()
with open(os.path.join(os.path.dirname(__file__), "README.rst"), "r") as fp:
description = fp.read().replace("\r\n", "\n")
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",
license="MIT",
install_requires=[
"decorator>=4",
"future>=0.15",
"matplotlib>=1",
"numpy>=1.5",
"pandas>=0.19",
"pandas-datareader>=0.2",
"scikit-learn>=0.15",
"scipy>=0.15",
"tabulate>=0.7.5",
],
extras_require={
"dev": [
"black>=20.8b1",
"codecov",
"coverage",
"flake8",
"flake8-black",
"future",
"mock",
"nose",
],
},
packages=["ffn"],
long_description=description,
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Software Development :: Libraries",
"Programming Language :: Python",
],
python_requires=">=3.7",
)