Skip to content

Investigate using PyConfig to amend sys.path #211

@SwooshyCueb

Description

@SwooshyCueb

At present, we append iRODS's config directory to sys.path using the interpreter:

std::string exec_str = "import sys\nsys.path.append('" + etc_irods_path.generic_string() + "')";

Let's investigate doing this via PyConfig instead:
https://docs.python.org/3/library/sys_path_init.html#embedded-python

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions