mirror of
https://github.com/gryf/ebook-converter.git
synced 2025-12-28 12:12:26 +01:00
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.
18 lines
317 B
Python
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()
|