-
Notifications
You must be signed in to change notification settings - Fork 95
/
setup.py
41 lines (35 loc) · 1.53 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
#!/usr/bin/env python3
from setuptools import setup, find_packages
import re
with open("README.md", "r") as fh:
long_description = fh.read()
def get_version():
with open('twocaptcha/__init__.py', 'r') as f:
return re.search(r'__version__ = ["\'](.*?)["\']', f.read()).group(1)
setup(name='2captcha-python',
version=get_version(),
description='Python module for easy integration with 2Captcha API',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/2captcha/2captcha-python/',
install_requires=['requests'],
author='2Captcha',
packages=find_packages(),
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Image Recognition",
"Topic :: Utilities",
"Intended Audience :: Developers",
],
keywords=[
'2captcha', 'captcha', 'api', 'captcha solver', 'reCAPTCHA',
'FunCaptcha', 'Geetest', 'image captcha', 'Coordinates', 'Click Captcha',
'Geetest V4', 'Lemin captcha', 'Amazon WAF', 'Cloudflare Turnstile',
'Capy Puzzle', 'MTCaptcha', 'Friendly Captcha', 'Tencent', 'Cutcaptcha', 'DataDome', 'cybersiara'],
python_requires='>=3.6',
test_suite='tests')