-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
51 lines (47 loc) · 1.62 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# -*- coding: utf-8 -*-
"""
processcdb
"""
import versioneer
from os.path import abspath, dirname, join
from setuptools import setup
PACKAGE_NAME = "processcdb"
CWD = abspath(dirname(__file__))
with open(join(CWD, "requirements.txt"), encoding="utf-8") as f:
REQUIREMENTS = f.read().splitlines()
# Get the long description from the README file
with open(join(CWD, "README.md"), encoding="utf-8") as f:
long_description = f.read()
CLASSIFIERS = """
Development Status :: 3 - Alpha
Topic :: Software Development :: Testing
Operating System :: OS Independent
License :: OSI Approved :: Apache Software License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Software Development :: Testing
""".strip().splitlines()
setup(
name=PACKAGE_NAME,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="Front-end to process compile_commands.json file and run various static analysis tools against it",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/rasjani/processcdb",
author="Jani Mikkonen",
author_email="[email protected]",
license="Apache License 2.0",
classifiers=CLASSIFIERS,
install_requires=REQUIREMENTS,
keywords="staticanalysis frontend clang cppcheck clangtidy compile_commands.json",
platforms="any",
packages=[PACKAGE_NAME],
package_dir={"": "src"},
entry_points={
'console_scripts': ['processcdb = processcdb.__main__:main'],
}
)