-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
48 lines (43 loc) · 1.24 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
import setuptools
import sys
import os
from glob import glob
# hack to extract metadata directly from the python package
sys.path.append("src") # noqa
from backlight import __author__, __version__, __license__
def read(fname):
with open(fname, "r", encoding="utf-8") as fh:
long_description = fh.read()
return long_description
setuptools.setup(
name="backlight",
version=__version__,
description="Model evaluation framework for AlpacaForecast",
author=__author__,
author_email="[email protected]",
long_description=read("README.md"),
long_description_content_type="text/markdown",
license=__license__,
url="https://github.com/AlpacaDB/backlight.git",
keywords="",
packages=setuptools.find_packages("src"),
package_dir={"": "src"},
py_modules=[
os.path.splitext(os.path.basename(path))[0] for path in glob("src/*.py")
],
install_requires=[
"pandas>=0.21.0",
"numpy>=1.15.0",
"matplotlib>=2.2.2",
"boto3>=1.9.36",
],
tests_require=[
"pytest-cov>=2.5.1",
"pytest-mock>=1.7.1",
"pytest-flake8>=1.0.0",
"pytest-sugar>=0.9.1",
"pytest>=3.5.0",
"autopep8>=1.2.3",
"flake8>=3.5.0",
],
)