no excecutable file extension on linux :"3
This commit is contained in:
parent
22c6b8b57f
commit
c3b8bc2088
1 changed files with 7 additions and 6 deletions
|
@ -376,14 +376,15 @@ elif sys.platform == 'linux':
|
||||||
|
|
||||||
files = os.listdir('dist')
|
files = os.listdir('dist')
|
||||||
try:
|
try:
|
||||||
os.mkdir(os.path.join('dist', 'Pesterchum'))
|
os.mkdir(os.path.join('dist', '.cache'))
|
||||||
except FileExistsError:
|
except FileExistsError as e:
|
||||||
pass
|
print(e)
|
||||||
for x in files:
|
for x in files:
|
||||||
try:
|
try:
|
||||||
shutil.move(os.path.join('dist',x), os.path.join('dist', 'Pesterchum'))
|
shutil.move(os.path.join('dist',x), os.path.join('dist', '.cache', x))
|
||||||
except FileExistsError:
|
except FileExistsError as e:
|
||||||
pass
|
print(e)
|
||||||
|
shutil.move(os.path.join('dist', '.cache'), os.path.join('dist', 'Pesterchum'))
|
||||||
#shutil.copy(os.path.join('build', 'Pesterchum', 'xref-Pesterchum.html'),
|
#shutil.copy(os.path.join('build', 'Pesterchum', 'xref-Pesterchum.html'),
|
||||||
# os.path.join('dist', 'Pesterchum', 'xref-Pesterchum.html'))
|
# os.path.join('dist', 'Pesterchum', 'xref-Pesterchum.html'))
|
||||||
#shutil.copy(os.path.join('build', 'Pesterchum', 'Analysis-00.toc'),
|
#shutil.copy(os.path.join('build', 'Pesterchum', 'Analysis-00.toc'),
|
||||||
|
|
Loading…
Reference in a new issue