mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:...
This commit is contained in:
parent
ad947b1b7b
commit
0428cf9bd6
@ -83,8 +83,7 @@ class LinuxFreeze(Command):
|
|||||||
self.info('Freezing calibre located at', CALIBRESRC)
|
self.info('Freezing calibre located at', CALIBRESRC)
|
||||||
|
|
||||||
entry_points = entry_points['console_scripts'] + entry_points['gui_scripts']
|
entry_points = entry_points['console_scripts'] + entry_points['gui_scripts']
|
||||||
entry_points = ['calibre_postinstall=calibre.linux:binary_install',
|
entry_points = ['calibre_postinstall=calibre.linux:main'] + entry_points
|
||||||
'calibre-parallel=calibre.parallel:main'] + entry_points
|
|
||||||
executables = {}
|
executables = {}
|
||||||
for ep in entry_points:
|
for ep in entry_points:
|
||||||
executables[ep.split('=')[0].strip()] = (ep.split('=')[1].split(':')[0].strip(),
|
executables[ep.split('=')[0].strip()] = (ep.split('=')[1].split(':')[0].strip(),
|
||||||
@ -253,7 +252,6 @@ class LinuxFreeze(Command):
|
|||||||
|
|
||||||
exes = list(executables.keys())
|
exes = list(executables.keys())
|
||||||
exes.remove('calibre_postinstall')
|
exes.remove('calibre_postinstall')
|
||||||
exes.remove('calibre-parallel')
|
|
||||||
open(os.path.join(FREEZE_DIR, 'manifest'), 'wb').write('\n'.join(exes))
|
open(os.path.join(FREEZE_DIR, 'manifest'), 'wb').write('\n'.join(exes))
|
||||||
|
|
||||||
self.info('Creating archive...')
|
self.info('Creating archive...')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user