-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
version.py
181 lines (148 loc) · 5.43 KB
/
version.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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
"""
Copyright (C) 2017-2022 Vanessa Sochat.
This Source Code Form is subject to the terms of the
Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed
with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
"""
__version__ = "0.2.39"
AUTHOR = "Vanessa Sochat"
AUTHOR_EMAIL = "[email protected]"
NAME = "sregistry"
PACKAGE_URL = "http://www.github.com/singularityhub/sregistry-cli"
KEYWORDS = "singularity containers registry hub"
DESCRIPTION = "Command line tool for working with container storage"
LICENSE = "LICENSE"
################################################################################
# Global requirements
INSTALL_REQUIRES = (
("spython", {"min_version": "0.0.63"}),
("requests", {"min_version": "2.18.4"}),
("pygments", {"min_version": "2.1.3"}),
)
TESTS_REQUIRES = (("pytest", {"min_version": "4.6.2"}),)
################################################################################
# Submodule Requirements (no database, just client)
INSTALL_BASIC_REGISTRY = (
("requests-toolbelt", {"min_version": "0.8.0"}),
("python-dateutil", {"min_verison": "2.5.3"}),
)
INSTALL_BASIC_AWS = (("awscli", {"min_version": "1.16.19"}),)
INSTALL_BASIC_SWIFT = (
("python-swiftclient", {"min_version": "3.6.0"}),
("python-keystoneclient", {"min_version": "3.5.0"}),
("oauth2client", {"min_version": "3.0"}),
)
INSTALL_BASIC_DROPBOX = (("dropbox", {"min_version": "8.5.1"}),)
INSTALL_BASIC_GLOBUS = (
("oauth2client", {"min_version": "3.0"}),
("globus_sdk[jwt]", {"min_version": "1.5.0"}),
)
INSTALL_BASIC_GOOGLE_STORAGE = (
("oauth2client", {"min_version": "3.0"}),
("google-cloud-storage", {"min_version": "1.4.0"}),
("google-api-python-client", {"min_version": "1.6.4"}),
("retrying", {"min_version": "1.3.3"}),
("httplib2", {"min_version": "0.18.0"}),
)
INSTALL_BASIC_GOOGLE_BUILD = (
("oauth2client", {"min_version": "3.0"}),
("google-cloud-storage", {"min_version": "1.4.0"}),
("google-api-python-client", {"min_version": "1.6.4"}),
("retrying", {"min_version": "1.3.3"}),
("httplib2", {"min_version": "0.18.0"}),
)
INSTALL_BASIC_GOOGLE_DRIVE = (
("google-api-python-client", {"min_version": "1.6.4"}),
("oauth2client", {"min_version": "3.0"}),
("httplib2", {"min_version": "0.18.0"}),
)
INSTALL_BASIC_GOOGLE_COMPUTE = (
("oauth2client", {"min_version": "3.0"}),
("google-api-python-client", {"min_version": "1.6.4"}),
("google-cloud-storage", {"min_version": "1.4.0"}),
("httplib2", {"min_version": "0.18.0"}),
)
INSTALL_BASIC_S3 = (("boto3", {"min_version": "1.7.83"}),)
INSTALL_BASIC_ALL = (
INSTALL_REQUIRES
+ INSTALL_BASIC_S3
+ INSTALL_BASIC_AWS
+ INSTALL_BASIC_SWIFT
+ INSTALL_BASIC_DROPBOX
+ INSTALL_BASIC_GLOBUS
+ INSTALL_BASIC_REGISTRY
+ INSTALL_BASIC_GOOGLE_STORAGE
+ INSTALL_BASIC_GOOGLE_BUILD
+ INSTALL_BASIC_GOOGLE_COMPUTE
+ INSTALL_BASIC_GOOGLE_DRIVE
)
################################################################################
# Submodule Requirements (versions that include database)
INSTALL_REQUIRES_REGISTRY = (
("requests-toolbelt", {"min_version": "0.8.0"}),
("python-dateutil", {"min_verison": "2.5.3"}),
("sqlalchemy", {"max_version": "1.4.48"}),
)
INSTALL_REQUIRES_AWS = (
("awscli", {"min_version": "1.16.19"}),
("sqlalchemy", {"max_version": "1.4.48"}),
)
INSTALL_REQUIRES_SWIFT = (
("python-swiftclient", {"min_version": "3.6.0"}),
("sqlalchemy", {"max_version": "1.4.48"}),
("oauth2client", {"min_version": "3.0"}),
)
INSTALL_REQUIRES_DROPBOX = (
("dropbox", {"min_version": "8.5.1"}),
("sqlalchemy", {"max_version": "1.4.48"}),
)
INSTALL_REQUIRES_GLOBUS = (
("oauth2client", {"min_version": "3.0"}),
("globus_sdk[jwt]", {"min_version": "1.5.0"}),
("sqlalchemy", {"max_version": "1.4.48"}),
)
INSTALL_REQUIRES_GOOGLE_STORAGE = (
("oauth2client", {"min_version": "3.0"}),
("google-cloud-storage", {"min_version": "1.4.0"}),
("google-api-python-client", {"min_version": "1.6.4"}),
("retrying", {"exact_version": "1.3.3"}),
("sqlalchemy", {"max_version": "1.4.48"}),
("httplib2", {"min_version": "0.18.0"}),
)
INSTALL_REQUIRES_GOOGLE_BUILD = (
("oauth2client", {"min_version": "3.0"}),
("google-cloud-storage", {"min_version": "1.4.0"}),
("google-api-python-client", {"min_version": "1.6.4"}),
("retrying", {"exact_version": "1.3.3"}),
("sqlalchemy", {"max_version": "1.4.48"}),
("httplib2", {"min_version": "0.18.0"}),
)
INSTALL_REQUIRES_GOOGLE_DRIVE = (
("oauth2client", {"min_version": "3.0"}),
("sqlalchemy", {"max_version": "1.4.48"}),
("google-api-python-client", {"min_version": "1.6.4"}),
("httplib2", {"min_version": "0.18.0"}),
)
INSTALL_REQUIRES_GOOGLE_COMPUTE = (
("oauth2client", {"min_version": "3.0"}),
("sqlalchemy", {"max_version": "1.4.48"}),
("google-api-python-client", {"min_version": "1.6.4"}),
("google-cloud-storage", {"min_version": "1.4.0"}),
("httplib2", {"min_version": "0.18.0"}),
)
INSTALL_REQUIRES_S3 = (
("sqlalchemy", {"max_version": "1.4.48"}),
("boto3", {"min_version": "1.7.83"}),
)
INSTALL_REQUIRES_ALL = (
INSTALL_REQUIRES
+ INSTALL_REQUIRES_AWS
+ INSTALL_REQUIRES_S3
+ INSTALL_REQUIRES_SWIFT
+ INSTALL_REQUIRES_DROPBOX
+ INSTALL_REQUIRES_REGISTRY
+ INSTALL_REQUIRES_GOOGLE_COMPUTE
+ INSTALL_REQUIRES_GOOGLE_STORAGE
+ INSTALL_REQUIRES_GOOGLE_BUILD
+ INSTALL_REQUIRES_GOOGLE_DRIVE
)