-
Notifications
You must be signed in to change notification settings - Fork 28
/
setup.py
executable file
·48 lines (45 loc) · 1.59 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
from os.path import dirname, join
from setuptools import find_packages, setup
with open(join(dirname(__file__), "scrapy_poet/VERSION"), "rb") as f:
version = f.read().decode("ascii").strip()
setup(
name="scrapy-poet",
version=version,
description="Page Object pattern for Scrapy",
long_description=open("README.rst").read(),
long_description_content_type="text/x-rst",
author="Mikhail Korobov",
author_email="kmike84@gmail.com",
url="https://github.com/scrapinghub/scrapy-poet",
packages=find_packages(exclude=["tests", "example"]),
entry_points={
"scrapy.commands": ["savefixture = scrapy_poet.commands:SaveFixtureCommand"]
},
package_data={"scrapy_poet": ["VERSION"]},
python_requires=">=3.9",
install_requires=[
"andi >= 0.6.0",
"attrs >= 21.3.0",
"parsel >= 1.5.0",
"scrapy >= 2.6.0",
"sqlitedict >= 1.5.0",
"time_machine >= 2.7.1",
"twisted >= 18.9.0",
"url-matcher >= 0.2.0",
"web-poet >= 0.17.0",
],
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Framework :: Scrapy",
"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",
],
)