-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
35 lines (27 loc) · 1002 Bytes
/
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
from setuptools import setup
import re
def get_version():
with open("vvclient/__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=["vvclient", "vvclient.types"],
package_data={"voicevox": ["py.typed"]},
install_requires=requirements,
extras_require={"tests": ["pytest", "pytest-asyncio"], "docs": ["pdoc3"]},
)