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')
|
||||
try:
|
||||
os.mkdir(os.path.join('dist', 'Pesterchum'))
|
||||
except FileExistsError:
|
||||
pass
|
||||
os.mkdir(os.path.join('dist', '.cache'))
|
||||
except FileExistsError as e:
|
||||
print(e)
|
||||
for x in files:
|
||||
try:
|
||||
shutil.move(os.path.join('dist',x), os.path.join('dist', 'Pesterchum'))
|
||||
except FileExistsError:
|
||||
pass
|
||||
shutil.move(os.path.join('dist',x), os.path.join('dist', '.cache', x))
|
||||
except FileExistsError as e:
|
||||
print(e)
|
||||
shutil.move(os.path.join('dist', '.cache'), os.path.join('dist', 'Pesterchum'))
|
||||
#shutil.copy(os.path.join('build', 'Pesterchum', 'xref-Pesterchum.html'),
|
||||
# os.path.join('dist', 'Pesterchum', 'xref-Pesterchum.html'))
|
||||
#shutil.copy(os.path.join('build', 'Pesterchum', 'Analysis-00.toc'),
|
||||
|
|
Loading…
Reference in a new issue