-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
60 lines (57 loc) · 2.12 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
# 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 <[email protected]>
from setuptools import setup
import os
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='[email protected]',
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",
"sync2jira-list-managed-urls=sync2jira.main:list_managed",
"sync2jira-close-duplicates=sync2jira.main:close_duplicates",
],
},
)