forked from zytedata/python-zyte-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·47 lines (43 loc) · 1.42 KB
/
setup.py
File metadata and controls
executable file
·47 lines (43 loc) · 1.42 KB
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
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
def get_version():
about = {}
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'zyte_api/__version__.py')) as f:
exec(f.read(), about)
return about['__version__']
setup(
name='zyte-api',
version=get_version(),
description='Python interface to Zyte Data API',
long_description=open('README.rst').read() + "\n\n" + open('CHANGES.rst').read(),
long_description_content_type='text/x-rst',
author='Zyte Group Ltd',
author_email='opensource@zyte.com',
url='https://github.com/zytedata/python-zyte-api',
packages=find_packages(exclude=['tests', 'examples']),
entry_points = {
'console_scripts': ['zyte-api=zyte_api.__main__:_main'],
},
install_requires=[
'requests',
'tenacity',
'aiohttp >= 3.6.0',
'tqdm',
'attrs',
'runstats',
],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
)