forked from python-amazon-mws/python-amazon-mws
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
62 lines (58 loc) · 2.04 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
53
54
55
56
57
58
59
60
61
62
# -*- coding: utf-8 -*-
import setuptools
import sys
version = '1.0'
homepage = 'https://github.com/python-amazon-mws/python-amazon-mws'
short_description = 'Python library for interacting with the Amazon MWS API'
with open('README.md') as readme:
long_description = readme.read()
requires = [
'requests',
]
extras_require = {
":python_version<'3.4'": ['enum34'],
}
# Fix for old setuptools versions.
# (Copied from source of the flake8 package)
if int(setuptools.__version__.split('.')[0]) < 18:
extras_require = {}
if sys.version_info < (3, 4):
requires.append('enum34')
setuptools.setup(
name='mws',
version=version,
maintainer='python-amazon-mws',
download_url=homepage + '/archive/v{}.tar.gz'.format(version),
maintainer_email='[email protected]',
url=homepage,
description=short_description,
long_description=long_description,
long_description_content_type='text/markdown',
packages=['mws', 'mws.apis'],
install_requires=requires,
extras_require=extras_require,
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
platforms=['OS Independent'],
license='Unlicense',
include_package_data=True,
zip_safe=False,
)