Menu

Home

Serhii Lysovenko

wd2epub

Creates epub file from the directory, which contains html files and the index.html file.

SYNOPSIS:

wd2epub <directory> <file.epub></file.epub></directory>

or in other words:

$ wd2epub -h
usage: wd2epub [-h] [-d] [-f] [-l] indir epub

Making epub from web dir.

positional arguments:
indir directory with html files
epub destination epub file name

optional arguments:
-h, --help show this help message and exit
-d, --keep-dir keep OEBPS directory
-f, --add-fonts add fonts to epub
-l, --no-keep-local-refs
do not keep all local refferences

Installation

Unpack the tarball in any place you want and make soft link to the __main__.py file in any directory placed in your $PATH variable (e.g. ~/bin).

The tarball also contains the setup.py file, but it is not working with python3 for yet.

Project Members: