-
Notifications
You must be signed in to change notification settings - Fork 22
/
setup.py
90 lines (86 loc) · 2.22 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2024 Ocean Protocol Foundation
# SPDX-License-Identifier: Apache-2.0
#
from setuptools import find_packages, setup
# Installed by pip install pdr-backend
# or pip install -e .
install_requirements = [
"black==24.10.0",
"bumpversion",
"ccxt==4.4.29",
"coverage",
"dash[testing]==2.18.2",
"dash_bootstrap_components==1.6.0",
"dateparser==1.2.0",
"duckdb==1.1.3",
"enforce_typing",
"eth-account==0.11.0",
"eth-keys==0.6.0",
"flask==3.0.3",
"imblearn",
"kaleido==0.2.1",
"mypy==1.13.0",
"numpy==2.1.3",
"numerize==0.12.0",
"pandas==2.2.3",
"pathlib",
"plotly==5.24.1",
"polars==1.12.0",
"polars[timezone]",
"pyarrow==18.0.0",
"pylint==3.3.1",
"pytest",
"pytest-asyncio==0.21.1",
"pytest-env",
"pyyaml",
"requests==2.32.3",
"requests-mock==1.12.1",
"scikit-learn==1.5.2",
"statsmodels==0.14.4",
"time_machine==2.16.0",
"typeguard==4.4.1",
"xgboost==2.1.2",
"web3==6.20.2",
"sapphire.py==0.2.3",
"stopit==1.1.2",
"ta==0.11.0",
"ocean-contracts==2.2.1", # install this last
]
# Required to run setup.py:
setup_requirements = ["pytest-runner"]
with open("README.md", encoding="utf8") as readme_file:
readme = readme_file.read()
setup(
author="oceanprotocol",
author_email="[email protected]",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
],
description="Predictoor backend",
install_requires=install_requirements,
name="pdr-backend",
license="Apache Software License 2.0",
long_description=readme,
long_description_content_type="text/markdown",
include_package_data=True,
packages=find_packages(
include=[
"pdr_backend",
]
),
setup_requires=setup_requirements,
test_suite="tests",
url="https://github.com/oceanprotocol/pdr-backend",
# fmt: off
# bumpversion needs single quotes
version='0.0.14',
# fmt: on
zip_safe=False,
)