forked from scrapy/scrapyd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
65 lines (61 loc) · 1.83 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
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',
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 command requires the txapp.py to be decompressed. #49
zip_safe=False,
install_requires=[
'packaging',
'twisted>=17.9',
'scrapy>=2.0.0',
'setuptools',
'w3lib',
'zope.interface',
],
extras_require={
'test': [
'pytest',
'pytest-cov',
'requests',
],
'docs': [
'furo',
'sphinx',
'sphinx-autobuild',
],
},
classifiers=[
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: No Input/Output (Daemon)',
'Topic :: Internet :: WWW/HTTP',
],
entry_points={
'console_scripts': [
'scrapyd = scrapyd.scripts.scrapyd_run:main'
]
}
)