#3290 - Add additional dependencies in extras_require
This commit is contained in:
parent
304be5c7ee
commit
9232cc7ba0
12
setup.py
12
setup.py
@ -99,25 +99,27 @@ all_extra_deps = [
|
|||||||
_dep_sshpubkeys_py2,
|
_dep_sshpubkeys_py2,
|
||||||
_dep_sshpubkeys_py3,
|
_dep_sshpubkeys_py3,
|
||||||
]
|
]
|
||||||
|
all_server_deps = all_extra_deps + ['flask']
|
||||||
|
|
||||||
# TODO: do we want to add ALL services here?
|
# TODO: do we want to add ALL services here?
|
||||||
# i.e. even those without extra dependencies.
|
# i.e. even those without extra dependencies.
|
||||||
# Would be good for future-compatibility, I guess.
|
# Would be good for future-compatibility, I guess.
|
||||||
extras_per_service = {
|
extras_per_service = {
|
||||||
"ec2": [_dep_cryptography, _dep_sshpubkeys_py2, _dep_sshpubkeys_py3],
|
|
||||||
'acm': [_dep_cryptography],
|
'acm': [_dep_cryptography],
|
||||||
'iam': [_dep_cryptography],
|
|
||||||
'cloudformation': [_dep_PyYAML, _dep_cfn_lint],
|
|
||||||
'cognitoidp': [_dep_python_jose, _dep_python_jose_ecdsa_pin],
|
|
||||||
'awslambda': [_dep_docker],
|
'awslambda': [_dep_docker],
|
||||||
'batch': [_dep_docker],
|
'batch': [_dep_docker],
|
||||||
|
'cloudformation': [_dep_PyYAML, _dep_cfn_lint],
|
||||||
|
'cognitoidp': [_dep_python_jose, _dep_python_jose_ecdsa_pin],
|
||||||
|
"ec2": [_dep_cryptography, _dep_sshpubkeys_py2, _dep_sshpubkeys_py3],
|
||||||
|
'iam': [_dep_cryptography],
|
||||||
'iotdata': [_dep_jsondiff],
|
'iotdata': [_dep_jsondiff],
|
||||||
|
's3': [_dep_cryptography],
|
||||||
'xray': [_dep_aws_xray_sdk],
|
'xray': [_dep_aws_xray_sdk],
|
||||||
}
|
}
|
||||||
|
|
||||||
extras_require = {
|
extras_require = {
|
||||||
'all': all_extra_deps,
|
'all': all_extra_deps,
|
||||||
'server': ['flask'],
|
'server': all_server_deps,
|
||||||
}
|
}
|
||||||
|
|
||||||
extras_require.update(extras_per_service)
|
extras_require.update(extras_per_service)
|
||||||
|
Loading…
Reference in New Issue
Block a user