This repository has been archived by the owner on Apr 28, 2024. It is now read-only.
/
setup.py
executable file
·81 lines (68 loc) · 2.04 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# This file is part of James CI.
#
# James CI is free software: you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later
# version.
#
# James CI is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License along
# with James CI. If not, see <http://www.gnu.org/licenses/>.
#
#
# Copyright (C)
# 2017 Alexander Haase <ahaase@alexhaase.de>
#
import os
from setuptools import setup
def read(path):
"""
Read the contents of a file.
:param str path: Path to be read.
:return: The contents of path.
:rtype: str
"""
return open(os.path.join(os.path.dirname(__file__), path)).read()
setup(
name='JamesCI',
description='James CI server utilities',
long_description=read('README.md'),
author='Alexander Haase',
author_email='ahaase@alexhaase.de',
license="GPLv3+",
url='https://github.com/alehaa/JamesCI',
classifiers=[
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v3 or later ' +
'(GPLv3+)',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Software Development :: Testing',
'Topic :: Utilities',
],
python_requires='>= 3.4',
install_requires=[
'appdirs',
'GitPython',
'portalocker',
'PyYAML',
'termcolor'
],
setup_requires=[
'vcversioner',
],
vcversioner={
'version_module_paths': ['jamesci/_version.py'],
},
packages=['jamesci'],
scripts=[
'bin/james-dispatch',
'bin/james-run',
'bin/james-schedule',
],
)