-
-
Notifications
You must be signed in to change notification settings - Fork 179
/
setup.py
58 lines (51 loc) · 2.04 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
import setuptools
# PyPi upload Command
# rm -r dist ; python setup.py sdist ; python -m twine upload dist/*
manifest: dict = {
"name": "TikTokLive",
"license": "MIT",
"author": "Isaac Kogan",
"version": "6.2.0",
"email": "info@isaackogan.com"
}
if __name__ == '__main__':
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name=manifest["name"],
packages=setuptools.find_packages(),
version=manifest["version"],
license=manifest["license"],
description="TikTok Live Python Client",
author=manifest["author"],
author_email=manifest["email"],
url="https://github.com/isaackogan/TikTokLive",
long_description=long_description,
long_description_content_type="text/markdown",
download_url=f"https://github.com/isaackogan/TikTokLive/releases/tag/v{manifest['version']}",
keywords=["tiktok", "tiktok live", "python3", "api", "unofficial"],
install_requires=[
"httpx>=0.25.0",
"pyee>=9.0.4",
"ffmpy>=0.3.0",
"websockets_proxy==0.1.2",
# Downgrade to b1. This is necessary because to_dict breaks for ShareEvent in 2.0.0b2 due to 'Common' not being defined. No clue why.
"betterproto==2.0.0b1",
"async-timeout>=4.0.3",
# Legacy-only requirements (to be removed)
"mashumaro>=3.5", # JSON Deserialization
"protobuf3-to-dict>=0.1.5",
"protobuf>=3.19.4",
],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
)