Skip to content

Using sumatra with python -m (without main file) #380

@chithangduong

Description

@chithangduong

I'm trying to use sumatra to run this example command:
python -m some.module --param1 10

I have created a default.param file with the following content:
m = some.module
param1 = 10

However, when I tried to run with smt run default.param, sumatra required a main file.
Is it possible to run sumatra without a main file using python -m?

I could have written a main file but it would break a lot of things in my project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions