setup.py 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. from setuptools import setup
  4. setup(name='python-magic',
  5. description='File type identification using libmagic',
  6. author='Adam Hupp',
  7. author_email='adam@hupp.org',
  8. url="http://github.com/ahupp/python-magic",
  9. version='0.4.15',
  10. py_modules=['magic'],
  11. long_description="""This module uses ctypes to access the libmagic file type
  12. identification library. It makes use of the local magic database and
  13. supports both textual and MIME-type output.
  14. """,
  15. keywords="mime magic file",
  16. license="MIT",
  17. test_suite='test',
  18. classifiers=[
  19. 'Intended Audience :: Developers',
  20. 'License :: OSI Approved :: MIT License',
  21. 'Programming Language :: Python',
  22. 'Programming Language :: Python :: 2',
  23. 'Programming Language :: Python :: 2.6',
  24. 'Programming Language :: Python :: 2.7',
  25. 'Programming Language :: Python :: 3',
  26. 'Programming Language :: Python :: 3.3',
  27. 'Programming Language :: Python :: 3.4',
  28. 'Programming Language :: Python :: 3.5',
  29. 'Programming Language :: Python :: 3.6',
  30. 'Programming Language :: Python :: Implementation :: CPython',
  31. ],
  32. )