-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
116 lines (95 loc) · 4.46 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
#!/usr/bin/env python
# Copyright (c) 2013 Yogesh Panchal, [email protected]
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
PROJECT = 'Bitbucket Command Line Interface'
VERSION = '1.0'
from setuptools import setup, find_packages
try:
long_description = open('README.rst', 'rt').read()
except IOError:
long_description = ''
setup(
name=PROJECT,
version=VERSION,
description='Bitbucket command line',
long_description=long_description,
author='Yogesh Panchal',
author_email='[email protected]',
url='https://github.com/yspanchal/bitbucket',
download_url='https://github.com/yspanchal/bitbucket/tarball/master',
classifiers=['Development Status :: 3 - Alpha',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Intended Audience :: Developers',
'Environment :: Console',
],
platforms=['Any'],
scripts=[],
provides=[],
install_requires=['cliff', 'tablib', 'requests'],
namespace_packages=[],
packages=find_packages(),
include_package_data=True,
entry_points={
'console_scripts': [
'bitbucket=bitbucket.main:main'
],
'cliff.bitbucket': [
'commit_detail=bitbucket.changeset:Commitget',
'commit_comments=bitbucket.changeset:Changesetcommentsget',
'commit_comments-post=bitbucket.changeset:Changesetcommentpost',
'commit_comments-delete=bitbucket.changeset:Changesetcommentdelete',
'groups=bitbucket.groups:Groups',
'group_create=bitbucket.groups:Creategroup',
'group_delete=bitbucket.groups:Deletegroup',
'group_members=bitbucket.groups:Groupmembers',
'group_member-add=bitbucket.groups:Addgroupmember',
'group_member-delete=bitbucket.groups:Deletegroupmember',
'issue=bitbucket.issues:Getissue',
'issue-create=bitbucket.issues:Createissue',
'issue-edit=bitbucket.issues:Editissue',
'issue-delete=bitbucket.issues:Deleteissue',
'issue-getcomment=bitbucket.issues:Getcomment',
'issue-postcomment=bitbucket.issues:Postcomment',
'login=bitbucket.logout:Login',
'logout=bitbucket.logout:Logout',
'repo_changeset=bitbucket.changeset:Changesetget',
'repo_create=bitbucket.repository:Repocreate',
'repo_edit=bitbucket.repository:Repoedit',
'repo_delete=bitbucket.repository:Repodelete',
'repo_list=bitbucket.repository:Repolist',
'repo_detail=bitbucket.repository:Repodetail',
'repo_tag=bitbucket.repository:Repotag',
'repo_branch=bitbucket.repository:Repobranch',
'repo_deploykey=bitbucket.repository:Repodeploykeyspost',
'repo_deploykey-list=bitbucket.repository:Repodeploykeysget',
'repo_deploykey-edit=bitbucket.repository:Repodeploykeysedit',
'repo_deploykey-delete=bitbucket.repository:Repodeploykeysdelete',
'repo_fork=bitbucket.repository:Repofork',
'repo_revision=bitbucket.repository:Reporevision',
'repo_share=bitbucket.repository:Reposhareget',
'repo_share-with=bitbucket.repository:Reposharepost',
'repo_share-remove=bitbucket.repository:Reposharedelete',
'sshkey=bitbucket.ssh:Sshkeyget',
'sshkey_add=bitbucket.ssh:Sshkeypost',
'sshkey_delete=bitbucket.ssh:Sshkeydelete',
'user_info=bitbucket.user:User',
'user_privileges=bitbucket.user:Userprivileges',
'wiki_get=bitbucket.wiki:Wikiget',
'wiki_post=bitbucket.wiki:Wikipost',
],
},
zip_safe=False,
)