Skip to content

Commit 8bf14bc

Browse files
committed
add 3.13 classifier, and tweak setup.py
1 parent f4a3aa0 commit 8bf14bc

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ def read(*names, **kwargs):
1818
1919
Parameter: encoding kwarg may be set
2020
"""
21-
return open(
21+
with open(
2222
join(dirname(__file__), *names),
2323
encoding=kwargs.get('encoding', 'utf8')
24-
).read()
24+
) as f:
25+
return f.read()
2526

2627

2728
classifiers = """\
@@ -34,13 +35,13 @@ def read(*names, **kwargs):
3435
Programming Language :: Python :: 3.10
3536
Programming Language :: Python :: 3.11
3637
Programming Language :: Python :: 3.12
38+
Programming Language :: Python :: 3.13
3739
Programming Language :: Python :: Implementation :: CPython
3840
Programming Language :: Python :: Implementation :: PyPy
3941
Topic :: Software Development :: Quality Assurance
4042
Topic :: Software Development :: Testing
4143
Development Status :: 5 - Production/Stable
4244
Framework :: Django
43-
Framework :: Django :: 1.11
4445
Framework :: Django :: 2.2
4546
Framework :: Django :: 3.2
4647
Framework :: Django :: 4.2

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#
1414

1515
[tox]
16+
# When changing this, also update the classifiers in setup.py:
1617
envlist =
1718
py38-django{22,32,42}-cov{6,761},
1819
py39-django{22,32,42}-cov{6,7,tip},

0 commit comments

Comments
 (0)