Skip to content

Importing win32api (pywin32) in Briefcase Run  #835

@MosGeo

Description

@MosGeo

Describe the bug
Importing win32api works during dev but not run. Note that pywin32 is added as a requirement and it is installed in site_packages.

To Reproduce
Steps to reproduce the behavior:

  1. Create new briefcase project
  2. Add pywin32 as a requirement in pyproject.toml
  3. Add import win32api to app.py
  4. Run briefcase run -u

Expected behavior
Application runs

Environment:

  • Operating System: Windows 10 64 Bit
  • Python version: 3.10
  • Software versions:
    • Briefcase: 0.3.9

Additional context
I tried the workaround as suggested in a very old closed issue by adding the paths manually but it didn't help (#102).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA crash or error in behavior.windowsThe issue relates to Microsoft Windows support.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions