i build tools funzionano!
This commit is contained in:
BIN
bananaSPLIT/banana-split.ico
Normal file
BIN
bananaSPLIT/banana-split.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
@@ -1,10 +1,10 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python ; coding: utf-8 -*-
|
||||||
|
|
||||||
block_cipher = None
|
block_cipher = None
|
||||||
|
|
||||||
|
|
||||||
a = Analysis(['guimain.py'],
|
a = Analysis(['guimain.py'],
|
||||||
pathex=['D:\\Emanuele\\Documenti\\workspace\\bananaSPLIT\\bananaSPLIT'],
|
pathex=['./libbananasplit', './UserInterface/CompiledUI', 'D:\\Emanuele\\Documenti\\workspace\\bananaSPLIT\\bananaSPLIT'],
|
||||||
binaries=[],
|
binaries=[],
|
||||||
datas=[('C:\\Users\\Emanuele Trabattoni\\AppData\\Roaming\\Python\\Python37\\site-packages\\text_unidecode\\data.bin', '.\\text_unidecode')],
|
datas=[('C:\\Users\\Emanuele Trabattoni\\AppData\\Roaming\\Python\\Python37\\site-packages\\text_unidecode\\data.bin', '.\\text_unidecode')],
|
||||||
hiddenimports=[],
|
hiddenimports=[],
|
||||||
@@ -28,5 +28,6 @@ exe = EXE(pyz,
|
|||||||
bootloader_ignore_signals=False,
|
bootloader_ignore_signals=False,
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=True,
|
upx=True,
|
||||||
|
upx_exclude=[],
|
||||||
runtime_tmpdir=None,
|
runtime_tmpdir=None,
|
||||||
console=True , icon='banana.ico')
|
console=True , icon='banana-split.ico')
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": "v1.2",
|
"version": "v1.2",
|
||||||
"paths": {
|
"paths": {
|
||||||
"lastUsed": "defaults.json",
|
"lastUsed": "spiripacchio.json",
|
||||||
"configurationPath": "./conf/",
|
"configurationPath": "./conf/",
|
||||||
"INworkPath": "C:/",
|
"INworkPath": "C:/",
|
||||||
"OUTworkPath": "C:/",
|
"OUTworkPath": "C:/",
|
||||||
|
|||||||
@@ -3,13 +3,11 @@
|
|||||||
"paths": {
|
"paths": {
|
||||||
"lastUsed": "spiripacchio.json",
|
"lastUsed": "spiripacchio.json",
|
||||||
"configurationPath": "./conf/",
|
"configurationPath": "./conf/",
|
||||||
"INworkPath": "D:/Test",
|
"INworkPath": "D:/Emanuele/Documenti/workspace/bananaSPLIT/TestFiles/FileBastardi",
|
||||||
"OUTworkPath": "C:/",
|
"OUTworkPath": "H:/",
|
||||||
"fileList": [
|
"fileList": [
|
||||||
"config.txt",
|
"Files(100)(1).txt",
|
||||||
"GUARDIAN.txt",
|
"Files(100)(2).txt"
|
||||||
"interrupts.txt",
|
|
||||||
"tlsdebug.txt"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"docStruct": {
|
"docStruct": {
|
||||||
|
|||||||
BIN
bananaSPLIT/dist/bananaSPLIT.exe
vendored
BIN
bananaSPLIT/dist/bananaSPLIT.exe
vendored
Binary file not shown.
64
bananaSPLIT/dist/bananaconfEN.json
vendored
64
bananaSPLIT/dist/bananaconfEN.json
vendored
@@ -1,64 +0,0 @@
|
|||||||
{
|
|
||||||
"INworkPath": "D:\\Test\\",
|
|
||||||
"OUTworkPath": "D:\\Test\\Separati\\",
|
|
||||||
"OUTnameFormat":"TEST_{docnum}_{year:04d}{month:02d}{day:02d}_{title}.txt",
|
|
||||||
"docStruct": {
|
|
||||||
"docSep": "\\s*Copyright [(0-9)]+",
|
|
||||||
"dateFormat":"{month} {day:d}, {year:d}{}",
|
|
||||||
"dateWords": [
|
|
||||||
"January",
|
|
||||||
"February",
|
|
||||||
"March",
|
|
||||||
"April",
|
|
||||||
"May",
|
|
||||||
"June",
|
|
||||||
"July",
|
|
||||||
"August",
|
|
||||||
"September",
|
|
||||||
"October",
|
|
||||||
"November",
|
|
||||||
"December"
|
|
||||||
],
|
|
||||||
"headWords": [
|
|
||||||
"BYLINE:",
|
|
||||||
"SECTION:",
|
|
||||||
"LENGTH:",
|
|
||||||
"DATELINE:",
|
|
||||||
"HIGHLIGHT:",
|
|
||||||
"Email:"
|
|
||||||
],
|
|
||||||
"tailWords": [
|
|
||||||
"Newstex ID" ,
|
|
||||||
"NOTES",
|
|
||||||
"LANGUAGE:",
|
|
||||||
"GRAPHIC:",
|
|
||||||
"TYPE:",
|
|
||||||
"URL:",
|
|
||||||
"LOAD-DATE:",
|
|
||||||
"PUBLICATION-TYPE:",
|
|
||||||
"DOCUMENT-TYPE:",
|
|
||||||
"CHARTS:",
|
|
||||||
"JOURNAL-CODE:"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"settings": {
|
|
||||||
"encoding": "utf-8",
|
|
||||||
"monthPosition": 0,
|
|
||||||
"getNewsPaperName": true,
|
|
||||||
"nameNotFoundStr" : "--ND--",
|
|
||||||
"includeTitle" : true,
|
|
||||||
"removeDuplicates": true,
|
|
||||||
"showSkipped": false,
|
|
||||||
"showRemovedDuplicates": true,
|
|
||||||
"maxTitleLen": 32,
|
|
||||||
"loadTXT": true,
|
|
||||||
"loadDOCX": false,
|
|
||||||
"removeOldFiles":true,
|
|
||||||
"saveSeparateFiles": true,
|
|
||||||
"saveBodyFile": true,
|
|
||||||
"saveBodyNumber":true,
|
|
||||||
"delLF": false,
|
|
||||||
"delWordBreak": true,
|
|
||||||
"delChars": "'|@|#"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
61
bananaSPLIT/dist/bananaconfITA.json
vendored
61
bananaSPLIT/dist/bananaconfITA.json
vendored
@@ -1,61 +0,0 @@
|
|||||||
{
|
|
||||||
"INworkPath": "C:\\Test\\",
|
|
||||||
"OUTworkPath": "C:\\Test\\Separati\\",
|
|
||||||
"OUTnameFormat":"TEST_{docnum}_{year:04d}{month:02d}{day:02d}_{papername}_{title}.txt",
|
|
||||||
"docStruct": {
|
|
||||||
"docSep": "Copyright [(0-9)]+",
|
|
||||||
"dateFormat":"{day:d} {month} {year:d} {}",
|
|
||||||
"dateWords": [
|
|
||||||
"Gennaio",
|
|
||||||
"Febbraio",
|
|
||||||
"Marzo",
|
|
||||||
"Aprile",
|
|
||||||
"Maggio",
|
|
||||||
"Giugno",
|
|
||||||
"Luglio",
|
|
||||||
"Agosto",
|
|
||||||
"Settembre",
|
|
||||||
"Ottobre",
|
|
||||||
"Novembre",
|
|
||||||
"Dicembre"
|
|
||||||
],
|
|
||||||
"headWords": [
|
|
||||||
"BYLINE:",
|
|
||||||
"SECTION:",
|
|
||||||
"LENGTH:",
|
|
||||||
"DATELINE:",
|
|
||||||
"HIGHLIGHT:",
|
|
||||||
"Email:"
|
|
||||||
],
|
|
||||||
"tailWords": [
|
|
||||||
"LANGUAGE:",
|
|
||||||
"GRAPHIC:",
|
|
||||||
"TYPE:",
|
|
||||||
"URL:",
|
|
||||||
"LOAD-DATE:",
|
|
||||||
"PUBLICATION-TYPE:",
|
|
||||||
"DOCUMENT-TYPE:",
|
|
||||||
"CHARTS:"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"settings": {
|
|
||||||
"encoding": "utf-8",
|
|
||||||
"monthPosition": 0,
|
|
||||||
"getNewsPaperName": true,
|
|
||||||
"nameNotFoundStr" : "--ND--",
|
|
||||||
"includeTitle" : true,
|
|
||||||
"removeDuplicates": true,
|
|
||||||
"showSkipped": false,
|
|
||||||
"showRemovedDuplicates": true,
|
|
||||||
"maxTitleLen": 32,
|
|
||||||
"loadTXT": true,
|
|
||||||
"loadDOCX": false,
|
|
||||||
"removeOldFiles":true,
|
|
||||||
"saveSeparateFiles": true,
|
|
||||||
"saveBodyFile": true,
|
|
||||||
"saveBodyNumber":true,
|
|
||||||
"delLF": false,
|
|
||||||
"delWordBreak": true,
|
|
||||||
"delChars": "'|@|#"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -3,8 +3,6 @@ Created on 2 nov 2019
|
|||||||
|
|
||||||
@author: Emanuele Trabattoni
|
@author: Emanuele Trabattoni
|
||||||
TODO LIST
|
TODO LIST
|
||||||
1- Aggiungere le icone ai tasti (giulia)
|
|
||||||
|
|
||||||
'''
|
'''
|
||||||
import sys, copy, json
|
import sys, copy, json
|
||||||
import PyQt5.QtWidgets
|
import PyQt5.QtWidgets
|
||||||
|
|||||||
37
bananaSPLIT/guimain.spec
Normal file
37
bananaSPLIT/guimain.spec
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# -*- mode: python ; coding: utf-8 -*-
|
||||||
|
|
||||||
|
block_cipher = None
|
||||||
|
|
||||||
|
|
||||||
|
a = Analysis(['guimain.py'],
|
||||||
|
pathex=['./libbananasplit', './UserInterface/CompiledUI--name=bananaSPLIT.exe', 'D:\\Emanuele\\Documenti\\workspace\\bananaSPLIT\\bananaSPLIT'],
|
||||||
|
binaries=[],
|
||||||
|
datas=[('C:\\Users\\Emanuele Trabattoni\\AppData\\Roaming\\Python\\Python37\\site-packages\\text_unidecode\\data.bin', '.\\text_unidecode')],
|
||||||
|
hiddenimports=[],
|
||||||
|
hookspath=[],
|
||||||
|
runtime_hooks=[],
|
||||||
|
excludes=[],
|
||||||
|
win_no_prefer_redirects=False,
|
||||||
|
win_private_assemblies=False,
|
||||||
|
cipher=block_cipher,
|
||||||
|
noarchive=False)
|
||||||
|
pyz = PYZ(a.pure, a.zipped_data,
|
||||||
|
cipher=block_cipher)
|
||||||
|
exe = EXE(pyz,
|
||||||
|
a.scripts,
|
||||||
|
[],
|
||||||
|
exclude_binaries=True,
|
||||||
|
name='guimain',
|
||||||
|
debug=False,
|
||||||
|
bootloader_ignore_signals=False,
|
||||||
|
strip=False,
|
||||||
|
upx=True,
|
||||||
|
console=True , icon='banana.ico')
|
||||||
|
coll = COLLECT(exe,
|
||||||
|
a.binaries,
|
||||||
|
a.zipfiles,
|
||||||
|
a.datas,
|
||||||
|
strip=False,
|
||||||
|
upx=True,
|
||||||
|
upx_exclude=[],
|
||||||
|
name='guimain')
|
||||||
Reference in New Issue
Block a user