Skip to content

Commit

Permalink
Add entrypoint to setup.py in flytekit plugins (#1120)
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw authored Aug 4, 2022
1 parent e407a9d commit 9b3aa0e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions plugins/flytekit-polars/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
entry_points={"flytekit.plugins": [f"{PLUGIN_NAME}=flytekitplugins.{PLUGIN_NAME}"]},
)
7 changes: 1 addition & 6 deletions plugins/flytekit-polars/tests/test_polars_plugin_sd.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import flytekitplugins.polars # noqa F401
import polars as pl

try:
from typing import Annotated
except ImportError:
from typing_extensions import Annotated
from typing_extensions import Annotated

from flytekit import kwtypes, task, workflow
from flytekit.types.structured.structured_dataset import PARQUET, StructuredDataset
Expand Down
1 change: 1 addition & 0 deletions plugins/flytekit-whylogs/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
entry_points={"flytekit.plugins": [f"{PLUGIN_NAME}=flytekitplugins.{PLUGIN_NAME}"]},
)

0 comments on commit 9b3aa0e

Please sign in to comment.