Skip to content

Commit b8c1634

Browse files
committed
Changelog and classifiers update
1 parent aaed13a commit b8c1634

File tree

3 files changed

+35
-34
lines changed

3 files changed

+35
-34
lines changed

CHANGES.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 1.6.1
2+
3+
* Updated runtime support
4+
* Dropped python 3.7
5+
* Added Python 3.12
6+
* Added Python 3.13
7+
* Tests: Replaced httpretty with requests-mock
8+
19
## 1.6.0
210
* Updated runtime support
311
* Dropped 2.6

setup.py

Lines changed: 26 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -7,50 +7,43 @@
77
except ImportError:
88
from distutils.core import setup
99

10-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'tinify'))
10+
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "tinify"))
1111
from version import __version__
1212

1313
install_require = ["requests >= 2.7.0, < 3.0.0"]
1414
tests_require = ["pytest", "pytest-xdist", "requests-mock"]
1515

16-
if sys.version_info < (2, 7):
17-
tests_require.append('unittest2')
18-
if sys.version_info < (3, 3):
19-
tests_require.append('mock >= 1.3, < 2.0')
20-
2116
setup(
22-
name='tinify',
17+
name="tinify",
2318
version=__version__,
24-
description='Tinify API client.',
25-
author='Jacob Middag',
26-
author_email='info@tinify.com',
27-
license='MIT',
28-
long_description='Python client for the Tinify API. Tinify compresses your images intelligently. Read more at https://tinify.com.',
29-
long_description_content_type='text/markdown',
30-
url='https://tinify.com/developers',
31-
32-
packages=['tinify'],
19+
description="Tinify API client.",
20+
author="Jacob Middag",
21+
author_email="info@tinify.com",
22+
license="MIT",
23+
long_description="Python client for the Tinify API. Tinify compresses your images intelligently. Read more at https://tinify.com.",
24+
long_description_content_type="text/markdown",
25+
url="https://tinify.com/developers",
26+
packages=["tinify"],
3327
package_data={
34-
'': ['LICENSE', 'README.md'],
35-
'tinify': ['data/cacert.pem'],
28+
"": ["LICENSE", "README.md"],
29+
"tinify": ["data/cacert.pem"],
3630
},
37-
3831
install_requires=install_require,
3932
tests_require=tests_require,
40-
extras_require={'test': tests_require},
41-
33+
extras_require={"test": tests_require},
4234
classifiers=(
43-
'Development Status :: 5 - Production/Stable',
44-
'Intended Audience :: Developers',
45-
'Natural Language :: English',
46-
'License :: OSI Approved :: MIT License',
47-
'Programming Language :: Python',
48-
'Programming Language :: Python :: 2.7',
49-
'Programming Language :: Python :: 3',
50-
'Programming Language :: Python :: 3.7',
51-
'Programming Language :: Python :: 3.8',
52-
'Programming Language :: Python :: 3.9',
53-
'Programming Language :: Python :: 3.10',
54-
'Programming Language :: Python :: 3.11',
35+
"Development Status :: 5 - Production/Stable",
36+
"Intended Audience :: Developers",
37+
"Natural Language :: English",
38+
"License :: OSI Approved :: MIT License",
39+
"Programming Language :: Python",
40+
"Programming Language :: Python :: 2.7",
41+
"Programming Language :: Python :: 3",
42+
"Programming Language :: Python :: 3.8",
43+
"Programming Language :: Python :: 3.9",
44+
"Programming Language :: Python :: 3.10",
45+
"Programming Language :: Python :: 3.11",
46+
"Programming Language :: Python :: 3.12",
47+
"Programming Language :: Python :: 3.13",
5548
),
5649
)

tinify/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.6.0'
1+
__version__ = '1.6.1'

0 commit comments

Comments
 (0)