-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (52 loc) · 1.62 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
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
import setuptools
import re
try:
with open('README.md', 'r') as fh:
long_description = fh.read()
GITHUB_URL = 'https://github.com/ding-live/ding-python.git'
GITHUB_URL = GITHUB_URL[: -len('.git')] if GITHUB_URL.endswith('.git') else GITHUB_URL
# links on PyPI should have absolute URLs
long_description = re.sub(
r'(\[[^\]]+\]\()((?!https?:)[^\)]+)(\))',
lambda m: m.group(1) + GITHUB_URL + '/blob/master/' + m.group(2) + m.group(3),
long_description,
)
except FileNotFoundError:
long_description = ''
setuptools.setup(
name='ding_api_client',
version='3.9.11',
author='Ding',
description='Python Client SDK',
url='https://github.com/ding-live/ding-python.git',
long_description=long_description,
long_description_content_type='text/markdown',
packages=setuptools.find_packages(where='src'),
install_requires=[
"certifi>=2023.7.22",
"charset-normalizer>=3.2.0",
"dataclasses-json>=0.6.4",
"idna>=3.4",
"jsonpath-python>=1.0.6",
"marshmallow>=3.19.0",
"mypy-extensions>=1.0.0",
"packaging>=23.1",
"python-dateutil>=2.8.2",
"requests>=2.31.0",
"six>=1.16.0",
"typing-inspect>=0.9.0",
"typing_extensions>=4.7.1",
"urllib3>=1.26.18",
],
extras_require={
"dev": [
"pylint==3.1.0",
],
},
package_dir={'': 'src'},
python_requires='>=3.8',
package_data={
'ding_api_client': ['py.typed']
},
)