forked from Kinto/kinto-http.py
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
57 lines (50 loc) · 1.55 KB
/
Copy pathsetup.py
File metadata and controls
57 lines (50 loc) · 1.55 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
import codecs
import os
import sys
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
README = f.read()
REQUIREMENTS = [
'requests>=2.8.1',
'unidecode',
]
if sys.version_info < (2, 7, 9):
# For secure SSL connexion with Python 2.7 (InsecurePlatformWarning)
REQUIREMENTS.append('PyOpenSSL')
REQUIREMENTS.append('ndg-httpsclient')
REQUIREMENTS.append('pyasn1')
test_requirements = [
'pytest',
'pytest-cache',
'pytest-cover',
'pytest-sugar',
'pytest-xdist',
'mock',
'kinto',
'unidecode',
]
setup(name='kinto-http',
version='9.2.0.dev0',
description='Kinto client',
long_description=README,
license='Apache License (2.0)',
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Internet :: WWW/HTTP",
"License :: OSI Approved :: Apache Software License"
],
keywords="web services",
author='Mozilla Services',
author_email='storage@mozilla.com',
url='https://github.com/Kinto/kinto-http.py/',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=REQUIREMENTS,
test_suite='kinto_http.tests',
tests_require=test_requirements)