[](https://travis-ci.org/ccnmtl/django-pagetree-epub)
[](https://coveralls.io/github/ccnmtl/django-pagetree-epub?branch=master)
epub export library for django-pagetree
## Installation
```
$ pip install django-pagetree-epub
```
Add `pagetreeepub` to your `INSTALLED_APPS`.
The `epubbuilder` library uses Genshi templates for a few things and
is unaware of Django's template finding functionality. I really hate
this and will be ripping that out and fixing this ASAP. In the
meantime, you have two options:
1) copy the `pagetreeepub/templates/epub` directory into your app and
point `EPUB_TEMPLATE_DIRECTORY` at it.
2) ensure that you pip install to a known location and set
`EPUB_TEMPLATE_DIRECTORY` to that.
Add the following settings:
* `EPUB_ALLOWED_BLOCKS` - list of pageblocks that will be allowed in
the published epub. Other blocks are silently ignored.
* `EPUB_TITLE` - title for the epub
* `EPUB_CREATOR` - creator field
* `EPUB_PUBLICATION` - publication date
[](https://coveralls.io/github/ccnmtl/django-pagetree-epub?branch=master)
epub export library for django-pagetree
## Installation
```
$ pip install django-pagetree-epub
```
Add `pagetreeepub` to your `INSTALLED_APPS`.
The `epubbuilder` library uses Genshi templates for a few things and
is unaware of Django's template finding functionality. I really hate
this and will be ripping that out and fixing this ASAP. In the
meantime, you have two options:
1) copy the `pagetreeepub/templates/epub` directory into your app and
point `EPUB_TEMPLATE_DIRECTORY` at it.
2) ensure that you pip install to a known location and set
`EPUB_TEMPLATE_DIRECTORY` to that.
Add the following settings:
* `EPUB_ALLOWED_BLOCKS` - list of pageblocks that will be allowed in
the published epub. Other blocks are silently ignored.
* `EPUB_TITLE` - title for the epub
* `EPUB_CREATOR` - creator field
* `EPUB_PUBLICATION` - publication date
Metadata
Release files for django-pagetree-epub 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-pagetree-epub-0.3.0.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_pagetree_epub-0.3.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / django-pagetree-epub-0.3.0.tar.gz
| Download URL | django-pagetree-epub-0.3.0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0396c02246a8e674b8c502042c972b35717419b77145863c493bff9e8533b5cc
|
|
BLAKE2b-256 checksum How to use checksums |
ec17e8c113784661c68fdbea10d432a4356308d89e8b1b4663ca9835e1669fec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.2
|
Release files / django_pagetree_epub-0.3.0-py2.py3-none-any.whl
| Download URL | django_pagetree_epub-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f5eb84a5df5ded0174c2d39313bc88ce499ad292d34f748650013b50998377c7
|
|
BLAKE2b-256 checksum How to use checksums |
6c957651e7a64206922a241d8b0b4803b5f3507a7cd21e344e2bae3759f4f395
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.2
|