File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 9090 # 7. PyInstaller를 사용해 파이썬 코드를 실행 파일로 만듭니다.
9191 - name : Build executable with PyInstaller
9292 shell : bash
93- run : poetry run pyinstaller --clean --additional-hooks-dir ./hooks --add-data "app/assets:assets" --paths . --hidden-import=dotenv --onefile --name ${{ env.EXE_NAME }} app/main.py
93+ run : |
94+ poetry run pyinstaller --clean \
95+ --additional-hooks-dir ./hooks \
96+ --add-data "app/assets:assets" \
97+ --paths . \
98+ --hidden-import=dotenv \
99+ --hidden-import=sqlalchemy.dialects.sqlite \
100+ --hidden-import=sqlalchemy.dialects.mysql \
101+ --hidden-import=sqlalchemy.dialects.mysql.pymysql \
102+ --hidden-import=sqlalchemy.dialects.mysql.mysqlconnector \
103+ --hidden-import=sqlalchemy.dialects.postgresql \
104+ --hidden-import=sqlalchemy.dialects.oracle \
105+ --collect-binaries psycopg2 \
106+ --collect-binaries oracledb \
107+ --onefile \
108+ --name ${{ env.EXE_NAME }} app/main.py
94109
95110
96111 # 8. 빌드된 실행 파일을 다음 단계(deploy)에서 사용할 수 있도록 아티팩트로 업로드합니다.
You can’t perform that action at this time.
0 commit comments