Skip to content

Commit de55e45

Browse files
committed
build: update readme and setup
1 parent 1a63d2b commit de55e45

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.metwork-framework/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@ The file size is: {% raw %}{{ 30000000|humanize_naturalsize(binary=False, gnu=Tr
2828
2929
```
3030

31+
You can use the same logic with all supported functions. If you need other functions, feel
32+
free to open a PullRequest.
33+
34+
## Installation
35+
36+
```
37+
pip install jinja2-humanize-extension
38+
```
39+
3140
## Full example
3241

3342
```python

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
if (line and not line.startswith('--')) and (";" not in line)]
77

88
with open(".metwork-framework/README.md") as f:
9-
long_description = f.read()
9+
long_description = f.read().replace("{% raw %}", "").replace("{% endraw %}", "")
1010

1111
setup(
1212
author="Fabien MARTY",

0 commit comments

Comments
 (0)