From 6413f45e52c2c112264df2d5269d80517969ee12 Mon Sep 17 00:00:00 2001 From: Rakibul Hasan <101rakibulhasan@gmail.com> Date: Tue, 8 Oct 2024 20:52:53 +0600 Subject: [PATCH] Related to flyteorg/flyte#5805 [Flyte Deck] Extras has been added (#2786) * [Flyte Deck] Extras has been added Signed-off-by: 101rakibulhasan <101rakibulhasan@gmail.com> * Added "All" which will install all the libraries Signed-off-by: 101rakibulhasan <101rakibulhasan@gmail.com> * Fixed linting issue using both pylint & flake8 on modified lines Signed-off-by: 101rakibulhasan <101rakibulhasan@gmail.com> * fix lint Signed-off-by: Future-Outlier --------- Signed-off-by: 101rakibulhasan <101rakibulhasan@gmail.com> Signed-off-by: Future-Outlier Co-authored-by: Future-Outlier --- plugins/flytekit-deck-standard/setup.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/plugins/flytekit-deck-standard/setup.py b/plugins/flytekit-deck-standard/setup.py index 6ba3dfb02d8..9213b5a5333 100644 --- a/plugins/flytekit-deck-standard/setup.py +++ b/plugins/flytekit-deck-standard/setup.py @@ -6,6 +6,16 @@ plugin_requires = ["flytekit"] +extras = { + "pandas": ["pandas"], + "pillow": ["pillow"], + "ydata-profiling": ["ydata-profiling"], + "markdown": ["markdown"], + "plotly": ["plotly"], + "pygments": ["pygments"], + "all": ["pandas", "pillow", "ydata-profiling", "markdown", "plotly", "pygments"], +} + __version__ = "0.0.0+develop" setup( @@ -20,6 +30,7 @@ namespace_packages=["flytekitplugins"], packages=[f"flytekitplugins.{PLUGIN_NAME}"], install_requires=plugin_requires, + extras_require=extras, license="apache2", python_requires=">=3.8", classifiers=[