-
Notifications
You must be signed in to change notification settings - Fork 20
/
setup.py
52 lines (47 loc) · 1.55 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
52
import os
import setuptools
def get_version():
about = {}
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "scrapy_zyte_api/__version__.py")) as f:
exec(f.read(), about)
return about["__version__"]
setuptools.setup(
name="scrapy-zyte-api",
version=get_version(),
description="Client library to process URLs through Zyte API",
long_description=open("README.rst").read(),
long_description_content_type="text/x-rst",
author="Zyte Group Ltd",
author_email="info@zyte.com",
url="https://github.com/scrapy-plugins/scrapy-zyte-api",
packages=["scrapy_zyte_api"],
# Sync with [pinned] @ tox.ini
install_requires=[
"packaging>=20.0",
"scrapy>=2.0.1",
"zyte-api>=0.5.1",
],
extras_require={
# Sync with [testenv:pinned-provider] @ tox.ini
"provider": [
"andi>=0.6.0",
"scrapy-poet>=0.22.3",
"web-poet>=0.17.0",
"zyte-common-items>=0.24.0",
]
},
classifiers=[
"Development Status :: 4 - Beta",
"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",
],
)