Skip to content

Commit 803d0ae

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

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

setup.py

Lines changed: 4 additions & 2 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,6 +35,7 @@ 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

0 commit comments

Comments
 (0)