summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..22dda6f
--- /dev/null
+++ b/setup.py
@@ -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://hupp.org/adam/hg/python-magic",
+ version='0.1',
+ 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",
+ )