mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Use a private copy of the bypy scripts so it doesnt conflict with the developments for the qt6 branch
This commit is contained in:
parent
8169268ee3
commit
ef87339298
@ -13,7 +13,9 @@ d = os.path.dirname
|
||||
|
||||
def get_paths():
|
||||
base = d(d(os.path.abspath(__file__)))
|
||||
bypy = os.path.join(d(base), 'bypy')
|
||||
traditional_bypy_location = os.path.join(d(base), 'bypy')
|
||||
compat_bypy_location = os.path.join(base, 'bypy', 'b', 'bypy-old')
|
||||
bypy = compat_bypy_location if os.path.exists(compat_bypy_location) else traditional_bypy_location
|
||||
bypy = os.environ.get('BYPY_LOCATION', bypy)
|
||||
if not os.path.isdir(bypy):
|
||||
raise SystemExit(
|
||||
|
Loading…
x
Reference in New Issue
Block a user