forked from ahupp/python-magic
-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
31 lines (29 loc) · 1.13 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(name='python-magic-bin',
description='File type identification using libmagic binary package',
author='Adam Hupp, Julian David Rath, Spencer Hanson',
author_email='adam@hupp.org, julian.rath@gmail.com, spencer.hanson@swimlane.com',
url="http://github.com/julian-r/python-magic",
version='0.4.14',
package_data={
'magic': ['libmagic/*.dll', 'libmagic/*.dylib', 'libmagic/*.mgc', 'libmagic/*.so*', 'libmagic/*.la']
},
zip_safe=False,
packages=['magic'],
long_description="""This module uses ctypes to access the libmagic file type
identification library. It makes use of the local magic database and
supports both textual and MIME-type output.
""",
keywords="mime magic file binary",
license="MIT",
test_suite='test',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
)