Source

pycabehtml / setup.py

# Pycabehtml
# Copyright (C) 2011 Jordi Carrillo Bosch
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

from setuptools import setup

__version__ = '0.14'

long_description = '''
Introduction
============
Pycabehtml is a pymetrics parser that graphs the McCabe code complexity in an
html file. This is designed to be run under Jenkins/Hudson Continuous
Integration Server. Currently, Jenkins has integration for Pylint, Unittest,
and Code coverage.  As far as I know, there is no plugin available for managing
code complexity in Python. With PycabeHtml we fill the gap to track code
complexity in Jenkins by means of the Html plugin.
Some bibliography:
http://artificialcode.blogspot.com/2009/08/10-ways-to-let-people-know-your-bad.html from Noah Gift.
'''

setup(name="pycabehtml",
      scripts=['pycabehtml.py'],
      version=__version__,
      description="Pymetrics McCabe Code complexity parser for Jenkins",
      long_description=long_description,
      author="Jordi Carrillo",
      author_email="jordilin@gmail.com",
      url="http://bitbucket.org/jordilin/pycabehtml",
      download_url="http://bitbucket.org/jordilin/pycabehtml/downloads",
      license="GNU GPL v3",
      packages=['pycabe'],
      entry_points = { 
          'console_scripts' : [ 
              'pycabehtml = pycabehtml:main',
              ]
          },
      classifiers=[
          'Development Status :: 5 - Production/Stable',
          'Environment :: Console',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: GNU General Public License (GPL)',
          'Operating System :: POSIX',
          'Programming Language :: Python',
          'Topic :: Software Development :: Quality Assurance'
          ],
)