aggiunto buildfile per linux
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,6 +1,6 @@
|
|||||||
SPEx/bin
|
SPEx/bin
|
||||||
|
*.spec
|
||||||
TestFiles
|
TestFiles
|
||||||
__pycache__
|
__pycache__
|
||||||
.vscode
|
.vscode
|
||||||
.venv
|
.venv
|
||||||
|
|
||||||
|
|||||||
@@ -3,10 +3,10 @@
|
|||||||
block_cipher = None
|
block_cipher = None
|
||||||
|
|
||||||
|
|
||||||
a = Analysis(['..\\spex\\guimain.py'],
|
a = Analysis(['../spex/guimain.py'],
|
||||||
pathex=['./libbananasplit', './UserInterface/compiledUI', 'D:\\Emanuele\\Documenti\\VScode\\bananaSPLIT\\SPEx\\scripts'],
|
pathex=['./libbananasplit', './UserInterface/compiledUI', '/home/emanuele/VScode/bananaSPLIT/SPEx/scripts'],
|
||||||
binaries=[],
|
binaries=[],
|
||||||
datas=[('..\\.venv\\Lib\\site-packages\\text_unidecode\\data.bin', '.\\text_unidecode')],
|
datas=[('../.venv/lib/python3.8/site-packages/text_unidecode/data.bin', './text_unidecode')],
|
||||||
hiddenimports=[],
|
hiddenimports=[],
|
||||||
hookspath=[],
|
hookspath=[],
|
||||||
runtime_hooks=[],
|
runtime_hooks=[],
|
||||||
@@ -30,4 +30,4 @@ exe = EXE(pyz,
|
|||||||
upx=True,
|
upx=True,
|
||||||
upx_exclude=[],
|
upx_exclude=[],
|
||||||
runtime_tmpdir=None,
|
runtime_tmpdir=None,
|
||||||
console=False , icon='..\\spex\\logo.ico')
|
console=False , icon='../spex/logo.ico')
|
||||||
|
|||||||
17
SPEx/scripts/create_SPEX.sh
Executable file
17
SPEx/scripts/create_SPEX.sh
Executable file
@@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
pyinstaller --add-data="../.venv/lib/python3.8/site-packages/text_unidecode/data.bin":./text_unidecode \
|
||||||
|
--icon="../spex/logo.ico" \
|
||||||
|
--paths ./libbananasplit --paths ./UserInterface/compiledUI \
|
||||||
|
--name=SPEx.exe \
|
||||||
|
--onefile \
|
||||||
|
--windowed -y \
|
||||||
|
../spex/guimain.py
|
||||||
|
|
||||||
|
echo "Copio configurazione"
|
||||||
|
cp -r ../conf ./dist/
|
||||||
|
echo "Copio file binari"
|
||||||
|
mv ./dist/ ../bin
|
||||||
|
echo "Rinuovo cartella build"
|
||||||
|
rm -rf ./build
|
||||||
|
|
||||||
Reference in New Issue
Block a user