-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
51 lines (47 loc) · 1.6 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
import os
import pathlib
import re
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
HERE = pathlib.Path(__file__).parent
txt = (HERE / "scrapingant_client" / "__init__.py").read_text("utf-8")
version = re.findall(r'^__version__ = "([^"]+)"\r?$', txt, re.M)[0]
setuptools.setup(
name="scrapingant-client",
version=version,
author="andrii.kovalenko",
author_email="[email protected]",
license='Apache-2.0',
description="Official python client for the ScrapingAnt API.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ScrapingAnt/scrapingant-client-python",
packages=setuptools.find_packages(),
classifiers=[
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: WWW/HTTP :: Browsers",
"License :: OSI Approved :: Apache Software License",
],
keywords="scrapingant api scraper scraping",
python_requires='~=3.7',
install_requires=['requests>=2,<3'],
extras_require={
'dev': [
'pytest>=7,<8',
'flake8>=7,<8',
'responses>=0,<1',
'pytest-httpx>=0,<1',
'pytest-asyncio>=0,<1',
],
'async': [
'httpx<1',
],
},
)