forked from akaszynski/keepa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (39 loc) · 1.32 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
"""
Setup for keepa
"""
from setuptools import setup
import os
import sys
from io import open as io_open
package_name = 'asynckeepa'
if sys.version_info < (3, 5, 3):
raise RuntimeError("asynckeepa 3.x requires Python 3.5.3+")
# Get version from ./_version.py
__version__ = None
version_file = os.path.join(os.path.dirname(__file__), package_name, '_version.py')
with io_open(version_file, mode='r') as fd:
exec(fd.read())
filepath = os.path.dirname(__file__)
readme_file = os.path.join(filepath, 'README.rst')
setup(
name=package_name,
packages=[package_name],
version=__version__,
description='Interfaces with keepa.com (async version)',
long_description=open(readme_file).read(),
author='Nicolas Baccelli',
author_email='[email protected]',
license='Apache Software License',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: End Users/Desktop',
'Topic :: Database :: Front-Ends',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
url='https://github.com/alexandriagroup/asynckeepa',
keywords='keepa',
install_requires=['numpy>=1.9.3', 'aiohttp>=3.5.4']
)