Mercurial > libervia-web
annotate MANIFEST.in @ 1306:c07112ef01cd
browser (template): adapted filters/global/extensions to manage SàT templates:
`template` module has been update so most SàT template can be run from browser:
- `profile` and `csrf_token` are set as globals
- an implementation of `xmlattr` filter has been added
- `date_fmt` filter has been implemented using `moment.js`
- i18n method `_` has been added to globals, and `{% trans %}` statement has been
implemented using an extension. For now they are not actually translating but just
returning the unmodified string.
- new `get_args` helper method to handle `nunjucks` convention for arguments.
- fixed `get_elt` to only return the first child element (avoiding any text child) + added
a defaut value for `context`
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 16 Jul 2020 09:08:50 +0200 |
parents | 843e303de5cb |
children |
rev | line source |
---|---|
1211
843e303de5cb
install (MANIFEST.in): added VERSION
Goffi <goffi@goffi.org>
parents:
1210
diff
changeset
|
1 include MANIFEST.in libervia/VERSION |
902 | 2 global-include *.py |
3 global-include *.ini | |
4 global-include *.po *.mo | |
5 global-include CHANGELOG COPYING* INSTALL README* | |
6 global-include *.sh | |
1210 | 7 global-include Makefile *.rst *.bat |
1118
6ddd47be0875
install: fixed manifest to include browser's public files + include package date during installation
Goffi <goffi@goffi.org>
parents:
906
diff
changeset
|
8 include src/browser/public/* |
906
9949f0940609
installation (MANIFEST): fixed missing files
Goffi <goffi@goffi.org>
parents:
902
diff
changeset
|
9 include themes |
1210 | 10 include doc |
906
9949f0940609
installation (MANIFEST): fixed missing files
Goffi <goffi@goffi.org>
parents:
902
diff
changeset
|
11 recursive-include src *.js |
9949f0940609
installation (MANIFEST): fixed missing files
Goffi <goffi@goffi.org>
parents:
902
diff
changeset
|
12 exclude *.sh |
902 | 13 global-exclude *.un~ |
906
9949f0940609
installation (MANIFEST): fixed missing files
Goffi <goffi@goffi.org>
parents:
902
diff
changeset
|
14 global-exclude *.pyc |
902 | 15 prune output |
16 prune html |