-
Notifications
You must be signed in to change notification settings - Fork 67
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (40 loc) · 1.18 KB
/
Copy pathsetup.py
File metadata and controls
44 lines (40 loc) · 1.18 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
import os
import pkg_resources
from setuptools import find_packages, setup
def read_version(fname="dolphin/version.py"):
exec(compile(open(fname, encoding="utf-8").read(), fname, "exec"))
return locals()["__version__"]
requirements = []
setup(
name="dataoceanai-dolphin",
py_modules=["dolphin"],
version=read_version(),
description="DataoceanAI Open-source Large Speech Model",
long_description=open("README.md", encoding="utf-8").read(),
long_description_content_type="text/markdown",
readme="README.md",
python_requires=">=3.7",
author="DataoceanAI",
url="https://github.com/DataoceanAI/dolphin",
license="Apache-2.0",
license_files="LICENSE",
packages=[
"dolphin",
"dolphin/assets",
],
package_data={
"dolphin/assets": ["*"]
},
install_requires=requirements
+ [
str(r)
for r in pkg_resources.parse_requirements(
open(os.path.join(os.path.dirname(__file__), "requirements.txt"))
)
],
entry_points={
"console_scripts": ["dolphin=dolphin.transcribe:cli"],
},
include_package_data=True,
extras_require={"dev": ["pytest", "flake8"]},
)