Add package install options, pip install trains[gpu,s3,azure,gs]

This commit is contained in:
allegroai 2019-09-03 12:59:32 +03:00
parent 64ba30df13
commit 4d8955dfd3

View File

@ -62,6 +62,20 @@ setup(
'deeplearning deep-learning experiment-manager experimentmanager',
packages=find_packages(exclude=['contrib', 'docs', 'data', 'examples', 'tests']),
install_requires=requirements,
extras_require={
's3': [
'boto3>=1.9',
],
'azure': [
'azure.storage.blob>=2.0.1',
],
'gs': [
'google-cloud-storage>=1.13.2',
],
'gpu': [
'gpustat',
],
},
package_data={
'trains': ['config/default/*.conf', 'backend_api/config/default/*.conf']
},