windows: use console scripts for executables

This commit is contained in:
Laszlo Nagy
2016-09-25 00:12:22 +10:00
parent 00b6fa2de4
commit b5f7b8300e
32 changed files with 97 additions and 179 deletions

View File

@@ -5,7 +5,7 @@ from setuptools import setup
setup(
name='scan-build',
version='1.2',
version='1.3',
author='László Nagy',
author_email='rizsotto@gmail.com',
keywords=['Clang', 'scan-build', 'static analyzer'],
@@ -14,19 +14,26 @@ setup(
description='static code analyzer wrapper for Clang.',
long_description=open('README.rst').read(),
zip_safe=False,
scripts=['bin/scan-build',
'bin/intercept-build', 'bin/intercept-cc', 'bin/intercept-c++',
'bin/analyze-build', 'bin/analyze-cc', 'bin/analyze-c++'],
packages=['libscanbuild', 'libear'],
package_data={'libscanbuild': ['resources/*'], 'libear': ['config.h.in', 'ear.c']},
package_data={'libscanbuild': ['resources/*'],
'libear': ['config.h.in', 'ear.c']},
entry_points={
'console_scripts': [
'scan-build = libscanbuild.analyze:scan_build',
'analyze-build = libscanbuild.analyze:analyze_build',
'analyze-cc = libscanbuild.analyze:analyze_build_wrapper',
'analyze-c++ = libscanbuild.analyze:analyze_build_wrapper',
'intercept-build = libscanbuild.intercept:intercept_build_main',
'intercept-cc = libscanbuild.intercept:intercept_build_wrapper',
'intercept-c++ = libscanbuild.intercept:intercept_build_wrapper'
]
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: University of Illinois/NCSA Open Source License",
"Environment :: Console",
"Operating System :: POSIX",
"Environment :: Console", "Operating System :: POSIX",
"Operating System :: MacOS :: MacOS X",
"Intended Audience :: Developers",
"Programming Language :: C",
"Intended Audience :: Developers", "Programming Language :: C",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
@@ -36,5 +43,4 @@ setup(
"Programming Language :: Python :: 3.5",
"Topic :: Software Development :: Compilers",
"Topic :: Software Development :: Quality Assurance"
]
)
])