12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. from __future__ import with_statement
  4. from distutils.core import setup
  5. from cdiff import META_INFO as _meta
  6. import sys
  7. if sys.hexversion < 0x02050000:
  8. raise SystemExit("*** Requires python >= 2.5.0")
  9. with open('README.rst') as doc:
  10. long_description = doc.read()
  11. with open('CHANGES') as changes:
  12. long_description += changes.read()
  13. setup(
  14. name = 'cdiff',
  15. version = _meta['version'],
  16. author = _meta['author'],
  17. author_email = _meta['email'],
  18. license = _meta['license'],
  19. description = _meta['description'],
  20. long_description = long_description,
  21. keywords = _meta['keywords'],
  22. url = _meta['url'],
  23. # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
  24. classifiers = [
  25. 'Development Status :: 5 - Production/Stable',
  26. 'Topic :: Utilities',
  27. 'License :: OSI Approved :: BSD License',
  28. 'Environment :: Console',
  29. 'Intended Audience :: Developers',
  30. 'Operating System :: MacOS :: MacOS X',
  31. 'Operating System :: POSIX',
  32. 'Operating System :: Unix',
  33. 'Programming Language :: Python',
  34. ],
  35. py_modules = ['cdiff'],
  36. scripts = ['cdiff'],
  37. )
  38. # vim:set et sts=4 sw=4 tw=79: