forked from akaszynski/keepa
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
57 lines (42 loc) · 1.39 KB
/
setup.py
File metadata and controls
57 lines (42 loc) · 1.39 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
48
49
50
51
52
53
54
55
56
57
# -*- coding: utf-8 -*-
"""
Setup.py for keepaAPI
Upload to PyPi using
python setup.py sdist upload -r pypi
"""
from setuptools import setup
import os
from io import open as io_open
package_name = 'keepaAPI'
# Get version from tqdm/_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:
# execute file from raw string
exec(fd.read())
setup(
name=package_name,
packages = [package_name],
# Version
version=__version__,
description='Interfaces with keepa.com',
long_description=open('README.rst').read(),
# Author details
author='Alex Kaszynski',
author_email='akascap@gmail.com',
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 :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
# Website
url = 'https://github.com/akaszynski/keepaAPI',
keywords='keepa',
# Might work with earlier versions (untested)
install_requires=['numpy>=1.9.3', 'requests>=2.2']
)