Skip to content

The windows_curses package can no longer be bundled #132

Closed
@mharbison72

Description

This used to work with the original py2 releases, but fails in the py3 releases with messages like ImportError: No module named '_curses' or ImportError: Module '_curses' is in the "excludes" list, depending on the version. Bundling curses without _curses.pyd leads to an ImportError when attempting to use it.

I was able to bundle it successfully by dropping the _curses line from the exclude list here:

_curses

I'm not sure if this excludes list serves to shorten the list of missing modules printed at the end (in which case dropping the line is probably fine), or if there's more to it (and maybe the line is conditionally dropped only if windows-curses is installed).

For reference, here's the windows-curses project: https://github.com/zephyrproject-rtos/windows-curses

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions