-
Notifications
You must be signed in to change notification settings - Fork 569
/
setup.py
67 lines (63 loc) · 2.02 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import os.path
from setuptools import setup
with open("README.rst") as f:
long_description = f.read()
with open(os.path.join(os.path.dirname(__file__), "scrapyd", "VERSION")) as f:
version = f.read().strip()
setup(
name="scrapyd",
version=version,
author="Scrapy developers",
author_email="[email protected]",
url="https://github.com/scrapy/scrapyd",
description="A service for running Scrapy spiders, with an HTTP API",
license="BSD",
packages=["scrapyd"],
long_description=long_description,
long_description_content_type="text/x-rst",
include_package_data=True,
# The scrapyd.__main__ module requires the txapp.py file to be decompressed. #49
zip_safe=False,
install_requires=[
"packaging",
"pywin32;platform_system=='Windows'",
"scrapy>=2.0.0",
"setuptools",
"twisted>=17.9",
"w3lib",
"zope.interface",
],
extras_require={
"test": [
"coveralls",
"py-html-checker",
"pytest",
"pytest-cov",
"pytest-twisted",
"requests",
"twisted>=19.7", # twisted.logger.capturedLogs
],
"docs": [
"furo",
"sphinx",
"sphinx-autobuild",
"sphinxcontrib-zopeext",
],
},
classifiers=[
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: No Input/Output (Daemon)",
"Topic :: Internet :: WWW/HTTP",
],
entry_points={"console_scripts": ["scrapyd = scrapyd.__main__:main"]},
)