mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
Update __init__.py
guess it's 43e8d66dfc5dbe9d4c2228b76643dc4f34374314 completion; many thanks for your great project, never thought to see it running on dragonfly!
This commit is contained in:
parent
288c24a170
commit
59065f7677
@ -13,7 +13,8 @@ iswindows = re.search('win(32|64)', sys.platform)
|
|||||||
isosx = 'darwin' in sys.platform
|
isosx = 'darwin' in sys.platform
|
||||||
isfreebsd = 'freebsd' in sys.platform
|
isfreebsd = 'freebsd' in sys.platform
|
||||||
isnetbsd = 'netbsd' in sys.platform
|
isnetbsd = 'netbsd' in sys.platform
|
||||||
isbsd = isnetbsd or isfreebsd
|
isdragonflybsd = 'dragonfly' in sys.platform
|
||||||
|
isbsd = isnetbsd or isfreebsd or isdragonflybsd
|
||||||
islinux = not isosx and not iswindows and not isbsd
|
islinux = not isosx and not iswindows and not isbsd
|
||||||
SRC = os.path.abspath('src')
|
SRC = os.path.abspath('src')
|
||||||
sys.path.insert(0, SRC)
|
sys.path.insert(0, SRC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user