Skip to content

Allow configuring the clr-loader runtime to use via environment variables #1759

@filmor

Description

@filmor

Configuring the runtime has essentially three common cases:

  1. .NET Framework
  2. Mono with a globally accessible libmono.so
  3. .NET Core

To make this easier to use (and hide clr_loader a bit), I propose that we introduce a new environment variable PYTHONNET_RUNTIME that configures what happens if one just imports clr, and a corresponding pythonnet.configure function with some simple parameters.

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions