Skip to content

Commit 7c1a018

Browse files
committed
add 3.13 support
1 parent e318ac0 commit 7c1a018

File tree

2 files changed

+30
-27
lines changed

2 files changed

+30
-27
lines changed

setup.py

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -8,41 +8,43 @@
88

99
def read(file_name):
1010
"""Read a text file and return the content as a string."""
11-
with io.open(os.path.join(os.path.dirname(__file__), file_name),
12-
encoding='utf-8') as f:
11+
with io.open(
12+
os.path.join(os.path.dirname(__file__), file_name), encoding="utf-8"
13+
) as f:
1314
return f.read()
1415

16+
1517
setuptools.setup(
16-
name='python-magic',
17-
description='File type identification using libmagic',
18-
author='Adam Hupp',
19-
author_email='[email protected]',
18+
name="python-magic",
19+
description="File type identification using libmagic",
20+
author="Adam Hupp",
21+
author_email="[email protected]",
2022
url="http://github.com/ahupp/python-magic",
21-
version='0.4.28',
22-
long_description=read('README.md'),
23-
long_description_content_type='text/markdown',
24-
packages=['magic'],
23+
version="0.4.28",
24+
long_description=read("README.md"),
25+
long_description_content_type="text/markdown",
26+
packages=["magic"],
2527
package_data={
26-
'magic': ['py.typed', '*.pyi', '**/*.pyi'],
28+
"magic": ["py.typed", "*.pyi", "**/*.pyi"],
2729
},
2830
keywords="mime magic file",
2931
license="MIT",
30-
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
32+
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
3133
classifiers=[
32-
'Intended Audience :: Developers',
33-
'License :: OSI Approved :: MIT License',
34-
'Programming Language :: Python',
35-
'Programming Language :: Python :: 2.7',
36-
'Programming Language :: Python :: 3',
37-
'Programming Language :: Python :: 3.5',
38-
'Programming Language :: Python :: 3.6',
39-
'Programming Language :: Python :: 3.7',
40-
'Programming Language :: Python :: 3.8',
41-
'Programming Language :: Python :: 3.9',
42-
'Programming Language :: Python :: 3.10',
43-
'Programming Language :: Python :: 3.11',
44-
'Programming Language :: Python :: 3.12',
45-
'Programming Language :: Python :: Implementation :: CPython',
34+
"Intended Audience :: Developers",
35+
"License :: OSI Approved :: MIT License",
36+
"Programming Language :: Python",
37+
"Programming Language :: Python :: 2.7",
38+
"Programming Language :: Python :: 3",
39+
"Programming Language :: Python :: 3.5",
40+
"Programming Language :: Python :: 3.6",
41+
"Programming Language :: Python :: 3.7",
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",
48+
"Programming Language :: Python :: Implementation :: CPython",
4649
],
4750
)
48-

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ envlist =
99
py310,
1010
py311,
1111
py312,
12+
py313,
1213
mypy
1314

1415
[testenv]

0 commit comments

Comments
 (0)