view setup.py @ 38:0a3c7d8eec72

utilize patch to determine if a patch or not
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 14 Dec 2012 15:35:39 -0800
parents d1b8fc0cb6cb
children db4c67a82b28
line wrap: on
line source

from setuptools import setup, find_packages
import sys, os

version = '0.2.3'

readme = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'README.txt')

if os.path.exists(readme):
  description = file(readme).read()
else:
  description = ''

setup(name='bzconsole',
      version=version,
      description='console API to bugzilla',
      long_description=description,
      classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
      keywords='',
      author='Jeff Hammel',
      author_email='jhammel@mozilla.com',
      url='http://k0s.org/mozilla/hg/bzconsole',
      license='MPL',
      packages=['bzconsole'],
      include_package_data=True,
      zip_safe=False,
      # http://packages.python.org/distribute/setuptools.html#declaring-dependencies
      install_requires=['patch'],
      dependency_links=[
        'http://python-patch.googlecode.com/svn/trunk/patch.py#egg=patch-0.0'
        ],
      entry_points="""
      # -*- Entry points: -*-
      [console_scripts]
      bz = bzconsole.main:main
      """,
      )