-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.py
52 lines (46 loc) · 1.53 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
NAME = 'scrapy-autoextract'
def get_version():
about = {}
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, NAME.replace('-', '_'), '__version__.py')) as f:
exec(f.read(), about)
return about['__version__']
setup(
name=NAME,
version=get_version(),
author='Zyte Group Ltd',
author_email='[email protected]',
maintainer='Zyte Group Ltd',
maintainer_email='[email protected]',
description='Zyte Automatic Extraction API integration for Scrapy',
long_description=open('README.rst').read(),
url='https://github.com/scrapinghub/scrapy-autoextract',
packages=find_packages(),
install_requires=[
'autoextract-poet>=0.3.0',
'zyte-autoextract>=0.7.0',
'scrapy-poet>=0.2.0',
'aiohttp',
'tldextract',
'sqlitedict>=1.7.0',
],
keywords='scrapy autoextract middleware',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Framework :: Scrapy',
],
)