mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-16 01:46:15 +01: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
1 changed files with 3 additions and 1 deletions
|
|
@ -13,7 +13,9 @@
|
|||
|
||||
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…
Reference in a new issue