Your project structure is somewhat defunct. Those `src/__init__.py` and 
`src/__main__.py` files imply that `src` is a package and `yaas.py` is the 
submodule `src.yaas`. That's reflected in the wheels on PyPI which are 
installing `__init__.py` et al directly into `site-packages`.

I'm guessing you really want a package called `yaas` in which case you'd 
insert a `yaas` directory (e.g. `src/yaas/__init__.py`) (personally I'd 
ditch the `src` and just use `yaas/__init__.py`) then adjust all the 
internal imports to use `from yaas import worker` instead of `import 
worker`.

Once you've made that change and dealt with all the collateral damage that 
the refactor causes, PyInstaller should stop objecting to your modules not 
being where they're supposed to be.

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/4c9f0ba1-36dd-46f7-a381-86e94721b902n%40googlegroups.com.

Reply via email to