# -*- coding: utf-8 -*-

import platform
import os

import kindle_maker

path = kindle_maker.__path__[0]

system = platform.system()

if system == 'Linux':
    kindlegen = os.path.join(path, 'bin/linux/kindlegen')
elif system == 'Darwin':
    kindlegen = os.path.join(path, 'bin/mac/kindlegen')
elif system == 'Windows':
    kindlegen = os.path.join(path, 'bin/windows/kindlegen.exe')
else:
    raise Exception('Not supported system:{}'.format(system))
