Added python-magic for smarter MIME type detection and a new document field: file_mime_encoding
This commit is contained in:
17
modules/python_magic/setup.py
Normal file
17
modules/python_magic/setup.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from setuptools import setup, Extension
|
||||
#from distutils.core import setup, Extension
|
||||
|
||||
setup(name='python-magic',
|
||||
description='File type identification using libmagic',
|
||||
author='Adam Hupp',
|
||||
author_email='adam@hupp.org',
|
||||
url="http://github.com/ahupp/python-magic",
|
||||
version='0.4.0',
|
||||
py_modules=['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",
|
||||
license="PSF",
|
||||
)
|
||||
Reference in New Issue
Block a user