-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
70 lines (64 loc) · 2.42 KB
/
setup.py
File metadata and controls
70 lines (64 loc) · 2.42 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# ------------------------------------------------------------------------------------------------------
# Copyright (c) Leo Hanisch. All rights reserved.
# Licensed under the BSD 3-Clause License. See LICENSE.txt in the project root for license information.
# ------------------------------------------------------------------------------------------------------
from os import path
from setuptools import find_packages, setup
# pylint: disable=exec-used,undefined-variable
with open(path.join(path.abspath(path.dirname(__file__)), 'README.md'), 'r', encoding="utf8") as rf:
LONG_DESCRIPTION = rf.read()
with open(path.join(path.abspath(path.dirname(__file__)), 'bugprediction/_version.py'), 'r', encoding="utf8") as f:
exec(f.read())
setup(
# PEP8: Packages should also have short, all-lowercase names, the use of underscores is discouraged
name='bugprediction',
version=__version__,
packages=find_packages(exclude=['*test']),
description='Predict bugs using the complexity of code changes.',
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
url='https://github.com/HaaLeo/bug-prediction',
author='Leo Hanisch',
license='BSD 3-Clause License',
install_requires=[
'gitpython>=2.1.1, <3.0.0'
],
project_urls={
'Issue Tracker': 'https://github.com/HaaLeo/bug-prediction/issues',
'Changelog': 'https://github.com/HaaLeo/bug-prediction/blob/master/CHANGELOG.md#changelog',
'License': 'https://github.com/HaaLeo/bug-prediction/blob/master/LICENSE.txt'
},
python_requires='>=3.0',
keywords=[
'bug',
'bugs',
'bug-prediction',
'bug-detection',
'bugprediction',
'fault',
'fault-prediction',
'faults',
'fault-detection',
'detection',
'prediction',
'entropy',
'change',
'complexity'
],
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Topic :: Education',
'Topic :: Scientific/Engineering'
],
entry_points={
'console_scripts': [
'bugprediction=bugprediction.__main__:main'
]
}
)