12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. from __future__ import with_statement
  4. from distutils.core import setup
  5. import os
  6. from cdiff import META_INFO as _meta
  7. import sys
  8. if sys.hexversion < 0x02050000:
  9. raise SystemExit("*** Requires python >= 2.5.0")
  10. with open('README.rst') as doc:
  11. long_description = doc.read()
  12. with open('CHANGES') as changes:
  13. long_description += changes.read()
  14. setup(
  15. name = 'cdiff',
  16. version = _meta['version'],
  17. author = _meta['author'],
  18. author_email = _meta['email'],
  19. license = _meta['license'],
  20. description = _meta['description'],
  21. long_description = long_description,
  22. keywords = _meta['keywords'],
  23. url = _meta['url'],
  24. classifiers = [
  25. 'Development Status :: 4 - Beta',
  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=80: