-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
executable file
·49 lines (44 loc) · 1.43 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
import os
from setuptools import find_packages, setup
def get_version():
about = {}
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "zyte_api/__version__.py")) as f:
exec(f.read(), about)
return about["__version__"]
setup(
name="zyte-api",
version=get_version(),
description="Python interface to Zyte API",
long_description=open("README.rst").read(),
long_description_content_type="text/x-rst",
author="Zyte Group Ltd",
author_email="[email protected]",
url="https://github.com/zytedata/python-zyte-api",
packages=find_packages(exclude=["tests", "examples"]),
entry_points={
"console_scripts": ["zyte-api=zyte_api.__main__:_main"],
},
install_requires=[
"aiohttp >= 3.8.0",
"attrs",
"brotli",
"runstats",
"tenacity",
"tqdm",
"w3lib >= 2.1.1",
],
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
)