Skip to content

Commit ce39db5

Browse files
author
Rémy HUBSCHER
committed
Merge branch 'prepare-10.4.0'
2 parents accae0b + ec76e8d commit ce39db5

File tree

2 files changed

+37
-45
lines changed

2 files changed

+37
-45
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ CHANGELOG
44
This document describes changes between each past release.
55

66

7-
10.4.0 (unreleased)
7+
10.4.0 (2019-05-09)
88
===================
99

1010
- Add support for Bearer tokens in the CLI utilities.
11+
- Use black for code formatting.
1112

1213

1314
10.3.0 (2019-03-07)

setup.py

Lines changed: 35 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,47 @@
11
import codecs
22
import os
3-
import sys
43
from setuptools import setup, find_packages
54

65
here = os.path.abspath(os.path.dirname(__file__))
76

8-
with codecs.open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
7+
with codecs.open(os.path.join(here, "README.rst"), encoding="utf-8") as f:
98
README = f.read()
109

11-
REQUIREMENTS = [
12-
'requests>=2.8.1',
13-
'unidecode',
14-
]
15-
16-
17-
if sys.version_info < (2, 7, 9):
18-
# For secure SSL connexion with Python 2.7 (InsecurePlatformWarning)
19-
REQUIREMENTS.append('PyOpenSSL')
20-
REQUIREMENTS.append('ndg-httpsclient')
21-
REQUIREMENTS.append('pyasn1')
10+
REQUIREMENTS = ["requests>=2.8.1", "unidecode"]
2211

2312
test_requirements = [
24-
'pytest',
25-
'pytest-cache',
26-
'pytest-cov',
27-
'pytest-sugar',
28-
'pytest-xdist',
29-
'kinto',
30-
'unidecode',
13+
"pytest",
14+
"pytest-cache",
15+
"pytest-cov",
16+
"pytest-sugar",
17+
"pytest-xdist",
18+
"kinto",
19+
"unidecode",
3120
]
3221

33-
setup(name='kinto-http',
34-
version='10.4.0.dev0',
35-
description='Kinto client',
36-
long_description=README,
37-
license='Apache License (2.0)',
38-
classifiers=[
39-
"Programming Language :: Python",
40-
"Programming Language :: Python :: 3",
41-
"Programming Language :: Python :: 3.5",
42-
"Programming Language :: Python :: 3.6",
43-
"Programming Language :: Python :: Implementation :: CPython",
44-
"Topic :: Internet :: WWW/HTTP",
45-
"License :: OSI Approved :: Apache Software License"
46-
],
47-
keywords="web services",
48-
author='Mozilla Services',
49-
author_email='[email protected]',
50-
url='https://github.com/Kinto/kinto-http.py/',
51-
packages=find_packages(),
52-
include_package_data=True,
53-
zip_safe=False,
54-
install_requires=REQUIREMENTS,
55-
test_suite='kinto_http.tests',
56-
tests_require=test_requirements)
22+
setup(
23+
name="kinto-http",
24+
version="10.4.0",
25+
description="Kinto client",
26+
long_description=README,
27+
license="Apache License (2.0)",
28+
classifiers=[
29+
"Programming Language :: Python",
30+
"Programming Language :: Python :: 3",
31+
"Programming Language :: Python :: 3.6",
32+
"Programming Language :: Python :: 3.7",
33+
"Programming Language :: Python :: Implementation :: CPython",
34+
"Topic :: Internet :: WWW/HTTP",
35+
"License :: OSI Approved :: Apache Software License",
36+
],
37+
keywords="web services",
38+
author="Mozilla Services",
39+
author_email="[email protected]",
40+
url="https://github.com/Kinto/kinto-http.py/",
41+
packages=find_packages(),
42+
include_package_data=True,
43+
zip_safe=False,
44+
install_requires=REQUIREMENTS,
45+
test_suite="kinto_http.tests",
46+
tests_require=test_requirements,
47+
)

0 commit comments

Comments
 (0)