Skip to content

infi.systray / pkg_resources now needs pyparsing as well #139

@Athanasius

Description

@Athanasius

Having resolved #136 I'm now looking at this upon running the resultant .exe:

Traceback (most recent call last):
  File "EDMarketConnector.py", line 2012, in <module>
  File "EDMarketConnector.py", line 448, in __init__
  File "infi\systray\__init__.pyc", line 1, in <module>
  File "pkg_resources\__init__.pyc", line 84, in <module>
  File "pkg_resources\_vendor\packaging\requirements.pyc", line 10, in <module>
  File "pkg_resources\extern\__init__.pyc", line 52, in create_module
  File "pkg_resources\extern\__init__.pyc", line 44, in load_module
ImportError: The 'pyparsing' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.

Upon checking, the python environment's pkg_resources has pkg_resources/_vendor/pyparsing/ but that isn't included in the build's library.zip.

py2exe==0.11.1.0
infi.systray==0.1.12

This is with Windows 32-bit python 3.10.5 as the base.

Manually doing zip -ru ../../../dist.win32/library.zip pkg_resources/_vendor/pyparsing (from the venv's site-packages/) allows the .exe to run from the dist.win32 directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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