mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Add Haiku to the known OS list
This commit is contained in:
parent
16bf6a94b7
commit
7dc4fc5d74
@ -15,7 +15,8 @@ isfreebsd = 'freebsd' in sys.platform
|
|||||||
isnetbsd = 'netbsd' in sys.platform
|
isnetbsd = 'netbsd' in sys.platform
|
||||||
isdragonflybsd = 'dragonfly' in sys.platform
|
isdragonflybsd = 'dragonfly' in sys.platform
|
||||||
isbsd = isnetbsd or isfreebsd or isdragonflybsd
|
isbsd = isnetbsd or isfreebsd or isdragonflybsd
|
||||||
islinux = not isosx and not iswindows and not isbsd
|
ishaiku = 'haiku1' in sys.platform
|
||||||
|
islinux = not isosx and not iswindows and not isbsd and not ishaiku
|
||||||
sys.setup_dir = os.path.dirname(os.path.abspath(__file__))
|
sys.setup_dir = os.path.dirname(os.path.abspath(__file__))
|
||||||
SRC = os.path.abspath(os.path.join(os.path.dirname(sys.setup_dir), 'src'))
|
SRC = os.path.abspath(os.path.join(os.path.dirname(sys.setup_dir), 'src'))
|
||||||
sys.path.insert(0, SRC)
|
sys.path.insert(0, SRC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user