forked from ExternalRepositories/cmake-lint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
40 lines (35 loc) · 1.22 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
from setuptools import setup
import imp
def get_version():
ver_file = None
try:
ver_file, pathname, description = imp.find_module('__version__', ['cmakelint'])
vermod = imp.load_module('__version__', ver_file, pathname, description)
version = vermod.VERSION
return version
finally:
if ver_file is not None:
ver_file.close()
setup(name='cmakelint',
version=get_version(),
packages=['cmakelint'],
scripts=['bin/cmakelint'],
entry_points={
'console_scripts': [
'cmakelint = cmakelint.main:main'
]
},
install_requires=[''],
author="Richard Quirk",
author_email="[email protected]",
url="https://github.com/richq/cmake-lint",
download_url="https://github.com/richq/cmake-lint",
keywords=["cmake", "lint"],
classifiers=[
"Topic :: Software Development",
"Programming Language :: Other",
"Programming Language :: Python",
"License :: OSI Approved :: Apache Software License"],
description="Static code checker for CMake files",
long_description="""cmakelint parses CMake files and reports style issues.""",
license="Apache 2.0")