You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What flag should be used in order to tell pyapp that the subfolder src is also needed when packaging?
I am using the following setup to create the .exe
@echo off
set PYAPP_PROJECT_DEPENDENCY_FILE=G:\TheAnimeScripter\requirements-windows.txt
set PYAPP_EXEC_SCRIPT=G:\TheAnimeScripter\main.py
set PYAPP_PYTHON_VERSION=3.11
set PYAPP_PROJECT_NAME=tas
set PYAPP_PROJECT_VERSION=1.9.1
set PYAPP_EXPOSE_ALL_COMMANDS=true
set PYAPP_EXE_NAME=TheAnimeScripter
cargo build --release
And I get the following import errors
G:\pyapp-v0.22.0\target\release .\pyapp.exe
Traceback (most recent call last):
File "C:\Users\nilas\AppData\Local\pyapp\cache\scripts\327278503990150853\main.py", line 30, in <module>
from src.argumentsChecker import argumentChecker
ModuleNotFoundError: No module named 'src'
The text was updated successfully, but these errors were encountered:
Hi,
I have this file system / folder system setup
main_folder/
├─ src/
│ ├─ utils/
│ ├─ script.py
│ ├─ script2.py
│ ├─ script3.py
├─ main.py
What flag should be used in order to tell pyapp that the subfolder src is also needed when packaging?
I am using the following setup to create the .exe
And I get the following import errors
The text was updated successfully, but these errors were encountered: