mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Restore functioning of CALIBRE_DEVELOP_FROM in linux build
This commit is contained in:
parent
0a32d53528
commit
8437c89d4d
@ -360,6 +360,9 @@ class LinuxFreeze(Command):
|
|||||||
def main():
|
def main():
|
||||||
try:
|
try:
|
||||||
sys.argv[0] = sys.calibre_basename
|
sys.argv[0] = sys.calibre_basename
|
||||||
|
dfv = os.environ.get('CALIBRE_DEVELOP_FROM', None)
|
||||||
|
if dfv and os.path.exists(dfv):
|
||||||
|
sys.path.insert(0, os.path.abspath(dfv))
|
||||||
set_default_encoding()
|
set_default_encoding()
|
||||||
set_helper()
|
set_helper()
|
||||||
set_qt_plugin_path()
|
set_qt_plugin_path()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user