setup.py 867 B

12345678910111213141516171819202122232425262728
  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] >= '4':
  7. msg = ("supervisor requires Python 2.4 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 = "0.1",
  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. package_dir = {'supervisor':'.'},
  22. package_data= {'supervisor':['ui/*.gif', 'ui/*.css', 'ui/*.html']},
  23. )