some fix
This commit is contained in:
32
Makefile
Normal file
32
Makefile
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
# Makefile pour OxApp - équivalent Linux du build.bat
|
||||||
|
|
||||||
|
.PHONY: help resources deploy pyinstaller installer
|
||||||
|
|
||||||
|
# Commande par défaut - affiche l'aide
|
||||||
|
help:
|
||||||
|
@echo "Commandes disponibles:"
|
||||||
|
@echo " make resources - Compile les ressources"
|
||||||
|
@echo " make deploy - Déploie l'application"
|
||||||
|
@echo " make pyinstaller - Crée l'exécutable avec PyInstaller"
|
||||||
|
@echo " make installer - Crée l'installateur"
|
||||||
|
|
||||||
|
# Compile les ressources
|
||||||
|
resources:
|
||||||
|
pyside6-rcc resources.qrc -o resources_rc.py
|
||||||
|
|
||||||
|
# Déploie l'application avec pyside6-deploy
|
||||||
|
deploy:
|
||||||
|
pyside6-deploy -c pysidedeploy.spec
|
||||||
|
|
||||||
|
# Crée l'exécutable avec PyInstaller
|
||||||
|
pyinstaller:
|
||||||
|
pyinstaller OxApp.spec --noconfirm
|
||||||
|
|
||||||
|
# Crée l'installateur
|
||||||
|
# Note: Inno Setup est spécifique à Windows, vous devrez utiliser
|
||||||
|
# un équivalent Linux comme makeself, AppImage, ou Flatpak
|
||||||
|
installer:
|
||||||
|
@echo "La création d'installateur sur Linux nécessite un outil différent d'Inno Setup."
|
||||||
|
@echo "Options recommandées: makeself, AppImage, ou Flatpak"
|
||||||
|
@echo "Exemple avec makeself (si installé):"
|
||||||
|
@echo " makeself.sh ./dist/OxApp \"OxApp\" \"OxApp Installation\" ./dist/Ox
|
||||||
@@ -43,7 +43,7 @@ qml_files =
|
|||||||
excluded_qml_plugins =
|
excluded_qml_plugins =
|
||||||
|
|
||||||
# qt modules used. comma separated
|
# qt modules used. comma separated
|
||||||
modules = Network,WebEngineCore,Widgets,Core,WebChannel,WebEngineWidgets,Gui
|
modules = WebEngineCore,WebEngineWidgets,WebChannel,Core,Gui,Widgets,Network
|
||||||
|
|
||||||
# qt plugins used by the application. only relevant for desktop deployment. for qt plugins used
|
# qt plugins used by the application. only relevant for desktop deployment. for qt plugins used
|
||||||
# in android application see [android][plugins]
|
# in android application see [android][plugins]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
PySide6<6.9,>=6.8.0
|
PySide6<6.9,>=6.8.0
|
||||||
qasync>=0.27.1
|
qasync>=0.27.1
|
||||||
httpx
|
httpx[http2]
|
||||||
anyio
|
anyio
|
||||||
Reference in New Issue
Block a user