1212
1313def read (file_name ):
1414 """Read a text file and return the content as a string."""
15- with io .open (os .path .join (os .path .dirname (__file__ ), file_name ),
16- encoding = 'utf-8' ) as f :
15+ with io .open (
16+ os .path .join (os .path .dirname (__file__ ), file_name ), encoding = "utf-8"
17+ ) as f :
1718 return f .read ()
1819
1920def get_cmdclass ():
@@ -39,37 +40,37 @@ def get_tag(self):
3940cmdclass = get_cmdclass ()
4041
4142setuptools .setup (
42- name = ' python-magic' ,
43- description = ' File type identification using libmagic' ,
44- author = ' Adam Hupp' ,
45- author_email = ' adam@hupp.org' ,
43+ name = " python-magic" ,
44+ description = " File type identification using libmagic" ,
45+ author = " Adam Hupp" ,
46+ author_email = " adam@hupp.org" ,
4647 url = "http://github.com/ahupp/python-magic" ,
47- version = ' 0.4.28' ,
48- long_description = read (' README.md' ),
49- long_description_content_type = ' text/markdown' ,
50- packages = [' magic' ],
48+ version = " 0.4.28" ,
49+ long_description = read (" README.md" ),
50+ long_description_content_type = " text/markdown" ,
51+ packages = [" magic" ],
5152 package_data = {
52- ' magic' : [' py.typed' , ' *.pyi' , ' *.dylib*' , ' *.dll' , ' *.so*' , ' magic.mgc' ]
53+ " magic" : [" py.typed" , " *.pyi" , " *.dylib*" , " *.dll" , " *.so*" , " magic.mgc" ]
5354 },
5455 cmdclass = cmdclass ,
5556 keywords = "mime magic file" ,
5657 license = "MIT" ,
57- python_requires = ' >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*' ,
58+ python_requires = " >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" ,
5859 classifiers = [
59- 'Intended Audience :: Developers' ,
60- 'License :: OSI Approved :: MIT License' ,
61- 'Programming Language :: Python' ,
62- 'Programming Language :: Python :: 2.7' ,
63- 'Programming Language :: Python :: 3' ,
64- 'Programming Language :: Python :: 3.5' ,
65- 'Programming Language :: Python :: 3.6' ,
66- 'Programming Language :: Python :: 3.7' ,
67- 'Programming Language :: Python :: 3.8' ,
68- 'Programming Language :: Python :: 3.9' ,
69- 'Programming Language :: Python :: 3.10' ,
70- 'Programming Language :: Python :: 3.11' ,
71- 'Programming Language :: Python :: 3.12' ,
72- 'Programming Language :: Python :: Implementation :: CPython' ,
60+ "Intended Audience :: Developers" ,
61+ "License :: OSI Approved :: MIT License" ,
62+ "Programming Language :: Python" ,
63+ "Programming Language :: Python :: 2.7" ,
64+ "Programming Language :: Python :: 3" ,
65+ "Programming Language :: Python :: 3.5" ,
66+ "Programming Language :: Python :: 3.6" ,
67+ "Programming Language :: Python :: 3.7" ,
68+ "Programming Language :: Python :: 3.8" ,
69+ "Programming Language :: Python :: 3.9" ,
70+ "Programming Language :: Python :: 3.10" ,
71+ "Programming Language :: Python :: 3.11" ,
72+ "Programming Language :: Python :: 3.12" ,
73+ "Programming Language :: Python :: 3.13" ,
74+ "Programming Language :: Python :: Implementation :: CPython" ,
7375 ],
7476)
75-
0 commit comments