setup.py 1.8 KB
Newer Older
D
Daniel Graña 已提交
1 2 3 4 5 6 7 8 9 10 11 12
from os.path import dirname, join
from setuptools import setup, find_packages


with open(join(dirname(__file__), 'scrapy/VERSION'), 'rb') as f:
    version = f.read().decode('ascii').strip()


setup(
    name='Scrapy',
    version=version,
    url='http://scrapy.org',
13
    description='A high-level Web Crawling and Web Scraping framework',
D
Daniel Graña 已提交
14 15 16 17 18
    long_description=open('README.rst').read(),
    author='Scrapy developers',
    maintainer='Pablo Hoffman',
    maintainer_email='pablo@pablohoffman.com',
    license='BSD',
D
Daniel Graña 已提交
19
    packages=find_packages(exclude=('tests', 'tests.*')),
D
Daniel Graña 已提交
20
    include_package_data=True,
D
Daniel Graña 已提交
21
    zip_safe=False,
D
Daniel Graña 已提交
22 23 24 25
    entry_points={
        'console_scripts': ['scrapy = scrapy.cmdline:execute']
    },
    classifiers=[
26
        'Framework :: Scrapy',
27 28
        'Development Status :: 5 - Production/Stable',
        'Environment :: Console',
D
Daniel Graña 已提交
29 30 31 32 33 34
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
35 36 37 38
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
D
Daniel Graña 已提交
39
        'Topic :: Internet :: WWW/HTTP',
40 41
        'Topic :: Software Development :: Libraries :: Application Frameworks',
        'Topic :: Software Development :: Libraries :: Python Modules',
D
Daniel Graña 已提交
42 43
    ],
    install_requires=[
44
        'Twisted>=13.1.0',
45
        'w3lib>=1.15.0',
46 47 48 49
        'queuelib',
        'lxml',
        'pyOpenSSL',
        'cssselect>=0.9',
50
        'six>=1.5.2',
51
        'parsel>=0.9.3',
D
Daniel Graña 已提交
52
        'PyDispatcher>=2.0.5',
53
        'service_identity',
D
Daniel Graña 已提交
54 55
    ],
)