Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Ability to find pythonnet version at runtime / define __version__ #1909

Copy link
Copy link
@amueller

Description

@amueller
Issue body actions

Details

  • I would like to be able to find out which version of pythonnet is installed in a particular runtime environment from the python side. Most packages define a package.__version__ for that purpose. I couldn't find anything like that in pythonnet.

I tried

    print(pythonnet.__version__)
    print([v for v in dir(pythonnet) if "version" in v])

I checked on pythonnet==3.0.0rc4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.