Skip to content

Commit

Permalink
Merge pull request #330 from samuelhwilliams/extras-jinja
Browse files Browse the repository at this point in the history
Add extras for templating
  • Loading branch information
samuelhwilliams authored Jun 21, 2020
2 parents 1382d8c + 04f024f commit 15135bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ Install from pypi with `pip`:
pip install eel
```

To include support for HTML templating, currently using [Jinja2](https://pypi.org/project/Jinja2/#description):

```shell
pip install eel[jinja2]
```

## Usage

### Directory Structure
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
'eel': ['eel.js'],
},
install_requires=['bottle', 'bottle-websocket', 'future', 'whichcraft'],
extras_require={
"jinja2": ['jinja2>=2.10']
},
python_requires='>=3.6',
description='For little HTML GUI applications, with easy Python/JS interop',
long_description=long_description,
Expand Down

0 comments on commit 15135bc

Please sign in to comment.