-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
116 lines (108 loc) · 3.72 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
import sys
from setuptools import setup, find_packages
MIN_PYTHON_VERSION = (3, 9)
if sys.version_info[:2] < MIN_PYTHON_VERSION:
raise RuntimeError("Python version required = {}.{}".format(MIN_PYTHON_VERSION[0], MIN_PYTHON_VERSION[1]))
import oceanai
REQUIRED_PACKAGES = [
"ipython >= 8.18.1",
"jupyterlab == 4.2.5",
"numpy >= 1.23.5",
"scipy >= 1.13.1",
"pandas >= 2.2.3",
"requests >= 2.32.3",
"opensmile >= 2.5.0",
"librosa >= 0.10.2.post1",
"audioread >= 3.0.1",
"scikit-learn >= 1.5.2",
"opencv-contrib-python >= 4.10.0.84",
"mediapipe >= 0.10.14",
"liwc >= 0.5.0",
"transformers == 4.45.1",
"sentencepiece >= 0.2.0",
"torch >= 2.2.2",
"torchaudio >= 2.2.2",
"torchvision >= 0.17.2",
"sacremoses >= 0.1.1",
"gradio >= 5.5.0",
]
CLASSIFIERS = """\
Development Status :: 3 - Alpha
Natural Language :: Russian
Natural Language :: English
Intended Audience :: Developers
Intended Audience :: Education
Intended Audience :: End Users/Desktop
Intended Audience :: Science/Research
Intended Audience :: Information Technology
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Mathematics
Topic :: Scientific/Engineering :: Artificial Intelligence
Topic :: Scientific/Engineering :: Image Processing
Topic :: Scientific/Engineering :: Image Recognition
Topic :: Software Development
Topic :: Software Development :: Libraries
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Documentation
Topic :: Documentation :: Sphinx
Topic :: Multimedia :: Sound/Audio
Topic :: Multimedia :: Sound/Audio :: Analysis
Topic :: Multimedia :: Sound/Audio :: Speech
Topic :: Software Development :: Libraries
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Software Development :: Localization
Topic :: Utilities
Operating System :: MacOS :: MacOS X
Operating System :: Microsoft :: Windows
Operating System :: POSIX :: Linux
Framework :: Jupyter
Framework :: Jupyter :: JupyterLab :: 4
Framework :: Sphinx
"""
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name=oceanai.__name__,
packages=find_packages(),
license=oceanai.__license__,
version=oceanai.__release__,
author=oceanai.__author__en__,
author_email=oceanai.__email__,
maintainer=oceanai.__maintainer__en__,
maintainer_email=oceanai.__maintainer_email__,
url=oceanai.__uri__,
description=oceanai.__summary__,
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=REQUIRED_PACKAGES,
keywords=[
"OCEAN-AI",
"MachineLearning",
"Statistics",
"ComputerVision",
"ArtificialIntelligence",
"Preprocessing",
],
include_package_data=True,
classifiers=[_f for _f in CLASSIFIERS.split("\n") if _f],
python_requires=">=3.9, <4",
entry_points={
"console_scripts": [],
},
project_urls={
"Bug Reports": "https://github.com/DmitryRyumin/oceanai/issues",
"Documentation": "https://oceanai.readthedocs.io",
"Source Code": "https://github.com/DmitryRyumin/oceanai/tree/main/oceanai",
"Download": "https://github.com/DmitryRyumin/oceanai/tags",
},
)