Skip to content

Commit 393a428

Browse files
Fixes entry-point issue
1 parent ef86a10 commit 393a428

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

wfcommons/wfchef/chef.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,9 @@ def create_recipe(path_to_instances: Union[str, pathlib.Path],
307307
skeleton_str = fp.read()
308308

309309
skeleton_str = skeleton_str.replace("PACKAGE_NAME", savedir.stem)
310+
311+
312+
print(f"The setup.py file being edit is located at {dst.parent.parent.joinpath('setup.py')}")
310313
with this_dir.joinpath(dst.parent.parent.joinpath("setup.py")).open("w+") as fp:
311314
fp.write(skeleton_str)
312315

wfcommons/wfchef/skeletons/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313

1414
thisdir = pathlib.Path(__file__).resolve().parent
1515

16-
workflow_recipes = [
16+
workflow_recipes = {
1717
line.strip()
1818
for line in thisdir.joinpath("workflow_recipes.txt").read_text().splitlines()
1919
if line.strip()
20-
]
20+
}
2121

2222
setup(
2323
name='wfcommons.wfchef.recipe.PACKAGE_NAME',

0 commit comments

Comments
 (0)