123456789101112131415161718192021222324252627282930313233343536373839404142
  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. classifiers = [
  24. 'Development Status :: 4 - Beta',
  25. 'Topic :: Utilities',
  26. 'License :: OSI Approved :: BSD License',
  27. 'Environment :: Console',
  28. 'Intended Audience :: Developers',
  29. 'Operating System :: MacOS :: MacOS X',
  30. 'Operating System :: POSIX',
  31. 'Operating System :: Unix',
  32. 'Programming Language :: Python',
  33. ],
  34. py_modules = ['cdiff'],
  35. scripts = ['cdiff'],
  36. )
  37. # vim:set et sts=4 sw=4 tw=80: