setup.py 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. import os
  2. from setuptools import setup, find_packages
  3. try:
  4. here = os.path.dirname(os.path.abspath(__file__))
  5. description = open(os.path.join(here, 'README.txt')).read()
  6. except IOError:
  7. description = ''
  8. import mozharness
  9. version = mozharness.version_string
  10. dependencies = ['virtualenv', 'mock', "coverage", "nose", "pylint", "pyflakes"]
  11. try:
  12. import json
  13. except ImportError:
  14. dependencies.append('simplejson')
  15. setup(name='mozharness',
  16. version=version,
  17. description="Mozharness is a configuration-driven script harness with full logging that allows production infrastructure and individual developers to use the same scripts. ",
  18. long_description=description,
  19. classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
  20. author='Aki Sasaki',
  21. author_email='aki@mozilla.com',
  22. url='https://hg.mozilla.org/build/mozharness/',
  23. license='MPL',
  24. packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
  25. include_package_data=True,
  26. zip_safe=False,
  27. install_requires=dependencies,
  28. entry_points="""
  29. # -*- Entry points: -*-
  30. """,
  31. )