Add optional dependencies to setup.py (#4655)
This commit is contained in:
parent
6323ef94ad
commit
5544a730f1
@ -43,6 +43,13 @@ setup(name='xgboost',
|
|||||||
'numpy',
|
'numpy',
|
||||||
'scipy',
|
'scipy',
|
||||||
],
|
],
|
||||||
|
extras_require={
|
||||||
|
'pandas': ['pandas'],
|
||||||
|
'sklearn': ['sklearn'],
|
||||||
|
'dask': ['dask', 'pandas', 'distributed'],
|
||||||
|
'datatable': ['datatable'],
|
||||||
|
'plotting': ['graphviz', 'matplotlib']
|
||||||
|
},
|
||||||
maintainer='Hyunsu Cho',
|
maintainer='Hyunsu Cho',
|
||||||
maintainer_email='chohyu01@cs.washington.edu',
|
maintainer_email='chohyu01@cs.washington.edu',
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
|
|||||||
@ -48,6 +48,13 @@ setup(name='xgboost',
|
|||||||
'numpy',
|
'numpy',
|
||||||
'scipy',
|
'scipy',
|
||||||
],
|
],
|
||||||
|
extras_require={
|
||||||
|
'pandas': ['pandas'],
|
||||||
|
'sklearn': ['sklearn'],
|
||||||
|
'dask': ['dask', 'pandas', 'distributed'],
|
||||||
|
'datatable': ['datatable'],
|
||||||
|
'plotting': ['graphviz', 'matplotlib']
|
||||||
|
},
|
||||||
maintainer='Hyunsu Cho',
|
maintainer='Hyunsu Cho',
|
||||||
maintainer_email='chohyu01@cs.washington.edu',
|
maintainer_email='chohyu01@cs.washington.edu',
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user