view setup.py @ 42:cd590e1722d6

dup
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 05 Nov 2013 03:03:06 -0800
parents 4cb3971d9d9d
children
line wrap: on
line source

"""
setup packaging script for CommitWatcher
"""

import os

version = "0.0"
dependencies = ['feedparser',
                'pypatch',
                'webob',
                ]

# allow use of setuptools/distribute or distutils
kw = {}
try:
    from setuptools import setup
    kw['entry_points'] = """
      [console_scripts]
      CommitWatcher = commitwatcher.main:main
"""
    kw['install_requires'] = dependencies
except ImportError:
    from distutils.core import setup
    kw['requires'] = dependencies

try:
    here = os.path.dirname(os.path.abspath(__file__))
    description = file(os.path.join(here, 'README.txt')).read()
except IOError:
    description = ''


setup(name='CommitWatcher',
      version=version,
      description="new service to monitor mozbase commits",
      long_description=description,
      classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
      author='Jeff Hammel',
      author_email='jhammel@mozilla.com',
      url='https://bugzilla.mozilla.org/show_bug.cgi?id=895522',
      license='MPL2',
      packages=['commitwatcher'],
      include_package_data=True,
      zip_safe=False,
      **kw
      )