1 Star 0 Fork 0

半杯水/scrapyd-client

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 1.41 KB
一键复制 编辑 原始数据 按行查看 历史
Frank Sachsenheim 提交于 2017-05-21 23:58 . Adds flake8 to testing
from os.path import join, dirname
with open(join(dirname(__file__), 'scrapyd_client/VERSION')) as f:
version = f.read().strip()
setup_args = {
'name': 'scrapyd-client',
'version': version,
'url': 'https://github.com/scrapy/scrapyd-client',
'description': 'A client for scrapyd',
'long_description': open('README.rst').read(),
'author': 'Scrapy developers',
'maintainer': 'Scrapy developers',
'maintainer_email': 'info@scrapy.org',
'license': 'BSD',
'packages': ['scrapyd_client'],
'entry_points': {
'console_scripts': ['scrapyd-deploy = scrapyd_client.deploy:main',
'scrapyd-client = scrapyd_client.cli:main']
},
'include_package_data': True,
'zip_safe': False,
'classifiers': [
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Topic :: Internet :: WWW/HTTP',
],
}
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
else:
setup_args['install_requires'] = ['requests', 'Scrapy>=0.17', 'six']
setup(**setup_args)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/ghostlon/scrapyd-client.git
git@gitee.com:ghostlon/scrapyd-client.git
ghostlon
scrapyd-client
scrapyd-client
master

搜索帮助