-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (55 loc) · 1.98 KB
/
setup.py
File metadata and controls
59 lines (55 loc) · 1.98 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
# This file is part of sync2jira.
# Copyright (C) 2016 Red Hat, Inc.
#
# sync2jira is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# sync2jira 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 sync2jira; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110.15.0 USA
#
# Authors: Ralph Bean <rbean@redhat.com>
import os
from setuptools import setup
with open("requirements.txt", "rb") as f:
install_requires = f.read().decode("utf-8").split("\n")
if not os.getenv("READTHEDOCS"):
install_requires.append("requests-kerberos")
with open("test-requirements.txt", "rb") as f:
test_requires = f.read().decode("utf-8").split("\n")
setup(
name="sync2jira",
version=2.0,
description="Sync GitHub issues to jira, via fedmsg",
author="Ralph Bean",
author_email="rbean@redhat.com",
url="https://github.com/release-engineering/Sync2Jira",
license="LGPLv2+",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU Lesser General "
"Public License v2 or later (LGPLv2+)",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Programming Language :: Python :: 3",
],
install_requires=install_requires,
tests_require=test_requires,
packages=[
"sync2jira",
],
include_package_data=True,
zip_safe=False,
entry_points={
"console_scripts": [
"sync2jira=sync2jira.main:main",
],
},
)