Update the setup.py to current pythonic norms and add Pygments to install_requires.
This commit is contained in:
parent
c3564966a2
commit
229a5bfc99
|
@ -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']
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue