Mercurial > hg > CommitWatcher
view setup.py @ 4:2bc7eee11207
mozbasewatcher.py
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 26 Sep 2013 22:27:11 -0700 |
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 )