forked from wanghaisheng/tiktoka-studio-uploader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (28 loc) · 1.03 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
from setuptools import setup, find_packages
import re
with open("README.md", "r",encoding="utf-8") as f:
long_description = f.read()
with open("ytb_up/__init__.py") as f:
version = re.search(
r"""^__version__\s*=\s*['"]([^\'"]*)['"]""", f.read(), re.MULTILINE
).group(1)
setup(
name="ytb-up",
version=version,
author="wanghaisheng",
author_email="[email protected]",
description="auto video machine,Upload videos to YouTube using geckodriver, Firefox profiles and Selenium.",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
url="https://github.com/wanghaisheng/ytb-up",
download_url="https://github.com/wanghaisheng/ytb-up/tarball/v" + version,
packages=["ytb_up"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=["selenium"],
python_requires=">=3.6",
)