1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2025-12-28 12:12:26 +01:00
Files
ebook-converter/ebook_converter/main.py
gryf 0f9792df36 Convert calibre modules to ebook_converter.
Here is the first batch of modules, which are needed for converting
several formats to LRF. Some of the logic has been change, more cleanups
will follow.
2020-04-19 15:16:48 +02:00

18 lines
317 B
Python

#!/usr/bin/env python
import sys
# TODO: remove this crap
sys.resources_location = ''
sys.extensions_location = '/usr/lib64/calibre/calibre/plugins'
sys.executables_location = '/usr/bin'
from ebook_converter.ebooks.conversion.cli import main
def run():
sys.exit(main())
if __name__ == '__main__':
run()