-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathsetup.py
More file actions
71 lines (65 loc) · 2.28 KB
/
setup.py
File metadata and controls
71 lines (65 loc) · 2.28 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
from __future__ import print_function
import sys
if sys.version_info < (3,):
print("Python 2 not supported by CapMonsterCloudClient.")
sys.exit(-1)
from pathlib import Path
from pkg_resources import parse_requirements
from setuptools import setup
NAME = 'capmonstercloudclient'
DESCRIPTION = 'Official CapMonsterCloud Client: https://capmonster.cloud/'
EMAIL = 'andrey.ilyin@zennolab.com'
AUTHOR = 'Andrey Ilyin'
with open('capmonstercloud_client/version.txt', 'r') as f:
VERSION = f.read()
with open("requirements.txt", "rt") as requirements_txt:
REQUIRED = [str(requirement) for requirement in parse_requirements(requirements_txt)]
URL='https://github.com/ZennoLab/capmonstercloud-client-python'
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
author_email=EMAIL,
author=AUTHOR,
long_description=long_description,
long_description_content_type='text/markdown',
packages=['capmonstercloudclient', 'capmonstercloudclient.requests'],
package_dir={"capmonstercloudclient": 'capmonstercloud_client'},
package_data={'': ['version.txt']},
include_package_data=True,
py_modules=["capmonstercloudclient"],
url=URL,
python_requires='>=3.6',
install_requires=REQUIRED,
keywords="""
captcha
recaptcha
geetest
hcaptcha
funcaptcha
python3
python-library
capmonster
capmonstercloud
capmonstercloudclient
""",
license="AGPL-3.0",
classifiers=[
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Development Status :: 5 - Production/Stable",
"Framework :: AsyncIO",
"Operating System :: Unix",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
]
)