-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
108 lines (100 loc) · 3.28 KB
/
setup.py
File metadata and controls
108 lines (100 loc) · 3.28 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
"""
Setup script for EARCP library.
Copyright (c) 2025 Mike Amega. All rights reserved.
Licensed under Business Source License 1.1
"""
from setuptools import setup, find_packages
import os
# Read README for long description
def read_file(filename):
with open(filename, 'r', encoding='utf-8') as f:
return f.read()
# Read version from __init__.py
def get_version():
init_path = os.path.join('earcp', '__init__.py')
with open(init_path, 'r') as f:
for line in f:
if line.startswith('__version__'):
return line.split('=')[1].strip().strip('"').strip("'")
return '1.0.0'
setup(
name='earcp',
version=get_version(),
author='Mike Amega',
author_email='info@amewebstudio.com',
description='EARCP: Self-Regulating Coherence and Performance-Aware Ensemble',
long_description=read_file('README.md'),
long_description_content_type='text/markdown',
url='https://github.com/Volgat/earcp',
project_urls={
'Documentation': 'https://github.com/Volgat/earcp/blob/main/docs/USAGE.md',
'Source': 'https://github.com/Volgat/earcp/tree/earcp-lib',
'Bug Reports': 'https://github.com/Volgat/earcp/issues',
'License': 'https://github.com/Volgat/earcp/blob/main/LICENSE.md',
'Commercial Licensing': 'https://github.com/Volgat/earcp/blob/earcp-lib/LICENSE',
},
packages=find_packages(),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Intended Audience :: Financial and Insurance Industry',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: Other/Proprietary License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Operating System :: OS Independent',
'Natural Language :: English',
],
keywords=[
'machine-learning',
'ensemble-learning',
'online-learning',
'adaptive-algorithms',
'model-combination',
'expert-weighting',
'coherence',
'performance',
'sequential-decision-making',
'dynamic-weighting',
'trading',
'forecasting',
],
python_requires='>=3.8',
install_requires=[
'numpy>=1.20.0',
'scipy>=1.7.0',
'matplotlib>=3.3.0',
],
extras_require={
'dev': [
'pytest>=6.0',
'pytest-cov>=2.0',
'black>=21.0',
'flake8>=3.9',
'mypy>=0.910',
],
'torch': [
'torch>=1.9.0',
],
'sklearn': [
'scikit-learn>=0.24.0',
],
'full': [
'torch>=1.9.0',
'scikit-learn>=0.24.0',
'pandas>=1.3.0',
'seaborn>=0.11.0',
],
},
include_package_data=True,
zip_safe=False,
license='Business Source License 1.1',
license_files=['LICENSE.md'],
)