forked from voicevox-client/python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (37 loc) · 1.07 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
from setuptools import setup
import re
def get_version():
with open("voicevox/__init__.py", "r") as f:
return re.search(r'__version__ = "([^"]+)"', f.read()).group(1)
with open("README.rst", "r", encoding='utf-8') as f:
long_description = f.read()
with open("requirements.txt", "r") as f:
requirements = f.readlines()
setup(
name="voicevox-client",
description="Voicevox engine unoffical wrapper",
url="https://github.com/voicevox-client/python",
project_urls={
"Documentation": "https://voicevox-client.tuna2134.jp",
"Source": "https://github.com/voicevox-client/python",
},
version=get_version(),
long_description=long_description,
long_description_content_type="text/x-rst",
author="tuna2134",
license="MIT",
packages=["voicevox", "voicevox.types"],
package_data={
"voicevox": ["py.typed"]
},
install_requires=requirements,
extras_require={
"tests": [
"pytest",
"pytest-asyncio"
],
"docs": [
"pdoc3"
]
}
)