Skip to content

isek example list shows nothing #81

@yqtianust

Description

@yqtianust

Here is what I got when running isek example list.

Available examples:

I think the problem is that when installing isek using pip3 install isek, the example folder is excluded.

Then when I invoke the example command, isek is trying to find the example folder, but fails.

ISEK/isek/cli.py

Lines 156 to 166 in 93a7e0e

def list():
"""List available example scripts"""
examples_dir = Path(__file__).parent.parent / "examples"
examples = [
f.stem
for f in examples_dir.glob("*.py")
if f.name != "__init__.py" and not f.name.startswith("_")
]
click.echo("Available examples:")
for name in sorted(examples):

Any idea about how to address this issue? I may help if you have some suggestions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions