diff --git a/.pydevproject b/.pydevproject index 129f809..c4977a5 100644 --- a/.pydevproject +++ b/.pydevproject @@ -5,6 +5,6 @@ /${PROJECT_DIR_NAME}/bananaSPLIT/libbananasplit /${PROJECT_DIR_NAME}/bananaSPLIT/UserInterface/compiledUI -python 3.7 -python37 +python interpreter +python36 diff --git a/bananaSPLIT/guimain.spec b/bananaSPLIT/bananaSPLIT.linux.spec similarity index 69% rename from bananaSPLIT/guimain.spec rename to bananaSPLIT/bananaSPLIT.linux.spec index 3d45dd0..9bb9f14 100644 --- a/bananaSPLIT/guimain.spec +++ b/bananaSPLIT/bananaSPLIT.linux.spec @@ -1,37 +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') +# -*- mode: python ; coding: utf-8 -*- + +block_cipher = None + + +a = Analysis(['guimain.py'], + pathex=['./libbananasplit', './UserInterface/CompiledUI', '/home/emanuele/Documents/LocalEclipseWorkspace/bananaSPLIT/bananaSPLIT'], + binaries=[], + datas=[('/home/emanuele/.local/lib/python3.6/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='bananaSPLIT.linux', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + console=True , icon='bananasplit.ico') +coll = COLLECT(exe, + a.binaries, + a.zipfiles, + a.datas, + strip=False, + upx=True, + upx_exclude=[], + name='bananaSPLIT.linux') diff --git a/bananaSPLIT/conf/defaults.json b/bananaSPLIT/conf/defaults.json index 5be872f..6175602 100644 --- a/bananaSPLIT/conf/defaults.json +++ b/bananaSPLIT/conf/defaults.json @@ -1,67 +1,67 @@ -{ - "version": "v1.2", - "paths": { - "lastUsed": "spiripacchio.json", - "configurationPath": "./conf/", - "INworkPath": "C:/", - "OUTworkPath": "C:/", - "fileList": [ - "bdlog.txt" - ] - }, - "docStruct": { - "fileVersNew": true, - "language": "English", - "languageIdx": 1, - "docSep": "\\s*Copyright [(0-9)]+", - "beginOfDocument": "\\s*Body", - "endOfDocument": "\\s*End of Document", - "dateFormat": "{month} {day:d}, {year:d}{}", - "outPrefix": "", - "outSuffix": "", - "outExt": ".txt", - "outDateType": "jpn", - "outNameFormat": "", - "outDate": true, - "outTitle": true, - "outNumber": true, - "numberPos": 1, - "datePos": 2, - "titlePos": 3, - "maxTitleLen": 16, - "outNameSep": "-", - "customSep": "=", - "dateFormats": { - "jpn": "{year:04d}{month:02d}{day:02d}", - "it": "{day:02d}{month:02d}{year:04d}", - "usa": "{month:02d}{year:04d}{day:02d}" - } - }, - "settings": { - "encoding": "ansi", - "monthPosition": 0, - "getNewsPaperName": true, - "nameNotFoundStr": "ND", - "includeTitle": true, - "removeDuplicates": true, - "showSkipped": false, - "showRemovedDuplicates": false, - "loadTXT": true, - "loadDOCX": false, - "removeOldFiles": true, - "saveSeparateFiles": true, - "saveBodyFile": true, - "saveBodyNumber": true, - "delLF": false, - "delWordBreak": true, - "delChars": [ - "'", - "@", - "#", - "$", - "%", - "^", - "&" - ] - } +{ + "version": "v1.2", + "paths": { + "lastUsed": "linux", + "configurationPath": "./conf/", + "INworkPath": "C:/", + "OUTworkPath": "C:/", + "fileList": [ + "bdlog.txt" + ] + }, + "docStruct": { + "fileVersNew": true, + "language": "English", + "languageIdx": 1, + "docSep": "\\s*Copyright [(0-9)]+", + "beginOfDocument": "\\s*Body", + "endOfDocument": "\\s*End of Document", + "dateFormat": "{month} {day:d}, {year:d}{}", + "outPrefix": "", + "outSuffix": "", + "outExt": ".txt", + "outDateType": "jpn", + "outNameFormat": "", + "outDate": true, + "outTitle": true, + "outNumber": true, + "numberPos": 1, + "datePos": 2, + "titlePos": 3, + "maxTitleLen": 16, + "outNameSep": "-", + "customSep": "=", + "dateFormats": { + "jpn": "{year:04d}{month:02d}{day:02d}", + "it": "{day:02d}{month:02d}{year:04d}", + "usa": "{month:02d}{year:04d}{day:02d}" + } + }, + "settings": { + "encoding": "ansi", + "monthPosition": 0, + "getNewsPaperName": true, + "nameNotFoundStr": "ND", + "includeTitle": true, + "removeDuplicates": true, + "showSkipped": false, + "showRemovedDuplicates": false, + "loadTXT": true, + "loadDOCX": false, + "removeOldFiles": true, + "saveSeparateFiles": true, + "saveBodyFile": true, + "saveBodyNumber": true, + "delLF": false, + "delWordBreak": true, + "delChars": [ + "'", + "@", + "#", + "$", + "%", + "^", + "&" + ] + } } \ No newline at end of file diff --git a/bananaSPLIT/conf/linux b/bananaSPLIT/conf/linux new file mode 100644 index 0000000..1f3349b --- /dev/null +++ b/bananaSPLIT/conf/linux @@ -0,0 +1,65 @@ +{ + "version": "v1.2", + "paths": { + "lastUsed": "linux", + "configurationPath": "./conf/", + "INworkPath": "/home/emanuele/Documents", + "OUTworkPath": "/home/emanuele/Documents", + "fileList": [] + }, + "docStruct": { + "fileVersNew": true, + "language": "English", + "languageIdx": 1, + "docSep": "\\s*Copyright [(0-9)]+", + "beginOfDocument": "\\s*Body", + "endOfDocument": "\\s*End of Document", + "dateFormat": "{month} {day:d}, {year:d}{}", + "outPrefix": "", + "outSuffix": "", + "outExt": ".txt", + "outDateType": "jpn", + "outNameFormat": "", + "outDate": true, + "outTitle": true, + "outNumber": true, + "numberPos": 1, + "datePos": 2, + "titlePos": 3, + "maxTitleLen": 16, + "outNameSep": "-", + "customSep": "=", + "dateFormats": { + "jpn": "{year:04d}{month:02d}{day:02d}", + "it": "{day:02d}{month:02d}{year:04d}", + "usa": "{month:02d}{year:04d}{day:02d}" + } + }, + "settings": { + "encoding": "ansi", + "monthPosition": 0, + "getNewsPaperName": true, + "nameNotFoundStr": "ND", + "includeTitle": true, + "removeDuplicates": true, + "showSkipped": false, + "showRemovedDuplicates": false, + "loadTXT": true, + "loadDOCX": false, + "removeOldFiles": true, + "saveSeparateFiles": true, + "saveBodyFile": true, + "saveBodyNumber": true, + "delLF": false, + "delWordBreak": true, + "delChars": [ + "'", + "@", + "#", + "$", + "%", + "^", + "&" + ] + } +} \ No newline at end of file