setup.py 915 B

1234567891011121314151617181920212223242526272829
  1. __revision__ = '$Id$'
  2. import sys
  3. import string
  4. version, extra = string.split(sys.version, ' ', 1)
  5. maj, minor = string.split(version, '.', 1)
  6. if not maj[0] >= '2' and minor[0] >= '3':
  7. msg = ("supervisor requires Python 2.3 or better, you are attempting to "
  8. "install it using version %s. Please install with a "
  9. "supported version" % version)
  10. from distutils.core import setup
  11. setup(
  12. name = 'supervisor',
  13. version = "2.0",
  14. description = ".",
  15. author = "Chris McDonough",
  16. author_email = "chrism@plope.com",
  17. maintainer = "Chris McDonough",
  18. maintainer_email = "chrism@plope.com",
  19. scripts=['supervisord', 'supervisorctl'],
  20. packages = ['supervisor', 'supervisor.medusa', 'supervisor.meld3',
  21. 'supervisor.meld3.elementtree'],
  22. package_dir = {'supervisor':'.'},
  23. package_data= {'supervisor':['ui/*.gif', 'ui/*.css', 'ui/*.html']},
  24. )