Skip to content

Commit 0a6ad9e

Browse files
committed
Updated package metadata
1 parent a81a35f commit 0a6ad9e

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

setup.py

+15-13
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
from setuptools import setup, find_packages
2-
from reversion import __version__
1+
from setuptools import find_packages, setup
32

3+
from reversion import __version__
44

55
# Load in babel support, if available.
66
try:
77
from babel.messages import frontend as babel
8+
89
cmdclass = {
910
"compile_catalog": babel.compile_catalog,
1011
"extract_messages": babel.extract_messages,
@@ -22,34 +23,35 @@ def read(filepath):
2223

2324
setup(
2425
name="django-reversion",
25-
version='.'.join(str(x) for x in __version__),
26+
version=".".join(str(x) for x in __version__),
2627
license="BSD",
2728
description="An extension to the Django web framework that provides version control for model instances.",
28-
long_description=read('README.rst'),
29+
long_description=read("README.rst"),
2930
author="Dave Hall",
3031
author_email="[email protected]",
3132
url="https://github.com/etianen/django-reversion",
3233
zip_safe=False,
3334
packages=find_packages(),
3435
package_data={
35-
"reversion": ["locale/*/LC_MESSAGES/django.*", "templates/reversion/*.html"]},
36+
"reversion": ["locale/*/LC_MESSAGES/django.*", "templates/reversion/*.html"]
37+
},
3638
cmdclass=cmdclass,
3739
install_requires=[
38-
"django>=3.2",
40+
"django>=4.2",
3941
],
40-
python_requires='>=3.7',
42+
python_requires=">=3.8",
4143
classifiers=[
4244
"Development Status :: 5 - Production/Stable",
4345
"Environment :: Web Environment",
4446
"Intended Audience :: Developers",
4547
"License :: OSI Approved :: BSD License",
4648
"Operating System :: OS Independent",
4749
"Programming Language :: Python",
48-
'Programming Language :: Python :: 3.7',
49-
'Programming Language :: Python :: 3.8',
50-
'Programming Language :: Python :: 3.9',
51-
'Programming Language :: Python :: 3.10',
52-
'Programming Language :: Python :: 3.11',
50+
"Programming Language :: Python :: 3.8",
51+
"Programming Language :: Python :: 3.9",
52+
"Programming Language :: Python :: 3.10",
53+
"Programming Language :: Python :: 3.11",
54+
"Programming Language :: Python :: 3.12",
5355
"Framework :: Django",
54-
]
56+
],
5557
)

0 commit comments

Comments
 (0)