-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
Copy pathsetup.py
executable file
·31 lines (28 loc) · 923 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env python3
import shutil
from setuptools import find_packages, setup
with open("README.txt") as f:
readme = f.read()
shutil.copy("cppcheck-htmlreport", "cppcheck_htmlreport/run.py")
setup(
name="cppcheck-htmlreport",
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="Cppcheck Team",
url="https://github.com/danmar/cppcheck",
license="GPL",
packages=find_packages(exclude=("tests", "docs")),
use_scm_version={"root": ".."},
entry_points={
"console_scripts": [
"cppcheck-htmlreport = cppcheck_htmlreport:run.main",
]
},
install_requires=["Pygments"],
# Required by setuptools-scm 7.0 for Python 3.7+
setup_requires=["setuptools>=60", "setuptools-scm>=7.0"],
)