Skip to content

Use sys.path.append("..") instead of named module #8

@dtrckd

Description

@dtrckd

If someone clone a pymake directory to a new name, the import will fail as we use the name of the root repo in the modules.

  • One way is to add sys.path.append("..") in every module file generated (under spec/, script/ and model/)
  • how to handle module in pmk.cfg ?

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