file extensions linux
This commit is contained in:
parent
c3b8bc2088
commit
b8191a85d7
1 changed files with 7 additions and 2 deletions
|
@ -24,6 +24,11 @@ data_files = {'README.md': 'README.md.txt',
|
||||||
'CHANGELOG.md': 'CHANGELOG.md.txt',
|
'CHANGELOG.md': 'CHANGELOG.md.txt',
|
||||||
'PCskins.png': '.',
|
'PCskins.png': '.',
|
||||||
'Pesterchum.png': '.'}
|
'Pesterchum.png': '.'}
|
||||||
|
data_files_linux = {'README.md': 'README.md',
|
||||||
|
'LICENSE': 'LICENSE.txt',
|
||||||
|
'CHANGELOG.md': 'CHANGELOG.md',
|
||||||
|
'PCskins.png': '.',
|
||||||
|
'Pesterchum.png': '.'}
|
||||||
# Some of these might not be required anymore,
|
# Some of these might not be required anymore,
|
||||||
# newer versions of PyInstaller claim to exclude certain problematic DDLs automatically.
|
# newer versions of PyInstaller claim to exclude certain problematic DDLs automatically.
|
||||||
upx_exclude = ["qwindows.dll",
|
upx_exclude = ["qwindows.dll",
|
||||||
|
@ -370,9 +375,9 @@ elif sys.platform == 'linux':
|
||||||
'*.xcf*',
|
'*.xcf*',
|
||||||
'ebg2.png',
|
'ebg2.png',
|
||||||
'ebg1.png'))
|
'ebg1.png'))
|
||||||
for x in data_files:
|
for x in data_files_linux:
|
||||||
print(x)
|
print(x)
|
||||||
shutil.copy(x, os.path.join('dist', data_files[x]))
|
shutil.copy(x, os.path.join('dist', data_files_linux[x]))
|
||||||
|
|
||||||
files = os.listdir('dist')
|
files = os.listdir('dist')
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue