python - Py2app ignoring local packages -
i have following setup.py: https://github.com/pext/pext/blob/30384647024ad3474d2c955d642ad6f7f745ffb5/setup.py
i trying build .app of this, py2app seems ignore listed packages. noticeably incorrect following output when running python3 setup.py py2app
(and running app crashing due missing these imports):
modules not found (unconditional imports): [...] * pext_base (/users/travis/build/pext/pext/pext/__main__.py, __main__) * pext_helpers (/users/travis/build/pext/pext/pext/__main__.py, __main__)
however, pext_base.py , pext_helpers.py in pext/helpers, defined in https://github.com/pext/pext/blob/30384647024ad3474d2c955d642ad6f7f745ffb5/setup.py#l54.
i've spent many, many hours trying figure 1 out. have tried following (and more): - stating packages again in py2app options dict - renaming pext/helpers pext.helpers in setup.py - passing command line --packages=pext,pext/helpers,pext_dev (which makes py2app complain there no package named pext) - using includes instead of packages - adding init.py files package roots , using setuptools.find_packages() - more things forgot
i cannot seem py2app behave, aliased build (-a) works.
does have clue why isn't working , can make work? appreciated.
Comments
Post a Comment