Merge pull request #822 from microe/pygments_is_a_required_package

Pygments is a required package
This commit is contained in:
Daniel Marjamäki 2016-09-10 10:56:35 +02:00 committed by GitHub
commit fb405e9f85
2 changed files with 20 additions and 8 deletions

View File

@ -0,0 +1 @@
Pygments

View File

@ -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']
)