mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove unused code
This commit is contained in:
parent
1156e8209a
commit
20486dd0a3
@ -48,16 +48,6 @@ class Worker(object):
|
|||||||
|
|
||||||
exe_name = 'calibre-parallel'
|
exe_name = 'calibre-parallel'
|
||||||
|
|
||||||
@property
|
|
||||||
def osx_interpreter(self):
|
|
||||||
exe = os.path.basename(sys.executable)
|
|
||||||
return exe if 'python' in exe else 'python'
|
|
||||||
|
|
||||||
@property
|
|
||||||
def osx_contents_dir(self):
|
|
||||||
fd = os.path.realpath(getattr(sys, 'frameworks_dir'))
|
|
||||||
return os.path.dirname(fd)
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def executable(self):
|
def executable(self):
|
||||||
if hasattr(sys, 'running_from_setup'):
|
if hasattr(sys, 'running_from_setup'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user