aggiunto buildfile per linux
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,6 +1,6 @@
|
||||
SPEx/bin
|
||||
*.spec
|
||||
TestFiles
|
||||
__pycache__
|
||||
.vscode
|
||||
.venv
|
||||
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
block_cipher = None
|
||||
|
||||
|
||||
a = Analysis(['..\\spex\\guimain.py'],
|
||||
pathex=['./libbananasplit', './UserInterface/compiledUI', 'D:\\Emanuele\\Documenti\\VScode\\bananaSPLIT\\SPEx\\scripts'],
|
||||
a = Analysis(['../spex/guimain.py'],
|
||||
pathex=['./libbananasplit', './UserInterface/compiledUI', '/home/emanuele/VScode/bananaSPLIT/SPEx/scripts'],
|
||||
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=[],
|
||||
hookspath=[],
|
||||
runtime_hooks=[],
|
||||
@@ -30,4 +30,4 @@ exe = EXE(pyz,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
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