diff --git a/htmlreport/setup.py b/htmlreport/setup.py index 26af29311..0be606dae 100755 --- a/htmlreport/setup.py +++ b/htmlreport/setup.py @@ -1,10 +1,21 @@ #!/usr/bin/env python -from distutils.core import setup -if __name__ == '__main__': - setup( - name="cppcheck", - scripts=[ - "cppcheck-htmlreport", - ] - ) +from setuptools import setup + +with open('README.txt') as f: + readme = f.read() + +setup( + name="cppcheck", + description='Python script to parse the XML (version 2) output of ' + + 'cppcheck and generate an HTML report using Pygments for syntax ' + + 'highlighting.', + long_description=readme, + author='Henrik Nilsson', + url='https://github.com/danmar/cppcheck', + license='GPL', + scripts=[ + "cppcheck-htmlreport", + ], + install_requires=['Pygments'] +)