forked from GothenburgBitFactory/bugwarrior
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
92 lines (88 loc) · 3.49 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
82
83
84
85
86
87
88
89
90
91
92
import itertools
from setuptools import setup, find_packages
version = '1.8.0'
f = open('bugwarrior/README.rst')
long_description = f.read().strip()
long_description = long_description.split('split here', 1)[1]
f.close()
extras = {
"activecollab": ["pypandoc", "pyac>=0.1.5"],
"bts": ["PySimpleSOAP", "python-debianbts>=2.6.1"],
"bugzilla": ["python-bugzilla>=2.0.0"],
"gmail": ["google-api-python-client", "google-auth-oauthlib"],
"jira": ["jira>=0.22"],
"kanboard": ["kanboard"],
"keyring": ["keyring"],
"phabricator": ["phabricator"],
"test": ["flake8", "pytest", "responses", "sphinx"],
"trac": ["offtrac"],
}
setup(name='bugwarrior',
version=version,
description="Sync github, bitbucket, and trac issues with taskwarrior",
long_description=long_description,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Bug Tracking",
"Topic :: Utilities",
],
keywords='task taskwarrior todo github ',
author='Ralph Bean',
author_email='[email protected]',
url='http://github.com/ralphbean/bugwarrior',
license='GPLv3+',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=[
"click",
"dogpile.cache>=0.5.3",
"jinja2>=2.7.2",
"lockfile>=0.9.1",
"pydantic[email]",
"python-dateutil",
"pytz",
"requests",
"taskw>=0.8",
# Needed for backwards compatibility with python<=3.7.
"typing-extensions",
],
extras_require={
'all': list(
itertools.chain.from_iterable(extras[key] for key in extras)),
**extras
},
entry_points="""
[console_scripts]
bugwarrior-pull = bugwarrior:pull
bugwarrior-vault = bugwarrior:vault
bugwarrior-uda = bugwarrior:uda
[bugwarrior.service]
github=bugwarrior.services.github:GithubService
gitlab=bugwarrior.services.gitlab:GitlabService
bitbucket=bugwarrior.services.bitbucket:BitbucketService
trac=bugwarrior.services.trac:TracService
bts=bugwarrior.services.bts:BTSService
bugzilla=bugwarrior.services.bz:BugzillaService
kanboard=bugwarrior.services.kanboard:KanboardService
teamlab=bugwarrior.services.teamlab:TeamLabService
redmine=bugwarrior.services.redmine:RedMineService
activecollab2=bugwarrior.services.activecollab2:ActiveCollab2Service
activecollab=bugwarrior.services.activecollab:ActiveCollabService
jira=bugwarrior.services.jira:JiraService
phabricator=bugwarrior.services.phab:PhabricatorService
versionone=bugwarrior.services.versionone:VersionOneService
pagure=bugwarrior.services.pagure:PagureService
taiga=bugwarrior.services.taiga:TaigaService
gerrit=bugwarrior.services.gerrit:GerritService
trello=bugwarrior.services.trello:TrelloService
youtrack=bugwarrior.services.youtrack:YoutrackService
gmail=bugwarrior.services.gmail:GmailService
teamworks_projects=bugwarrior.services.teamworks_projects:TeamworksService
pivotaltracker=bugwarrior.services.pivotaltracker:PivotalTrackerService
azuredevops=bugwarrior.services.azuredevops:AzureDevopsService
""",
)