annotate MANIFEST.in @ 2671:0fa217fafabf

tools (common/template), jp: refactoring to handle multiple sites: - site can now be specified in template header before theme, for instance: (some_site/some_theme)path/to/template.ext - absolute template paths are now implemented, but Renderer must be instanciated with trusted to True for security reason (it's the case for jp) - a new "front_url_filter" callable can be given to Renderer, which will convert template path to URL seen by end-user (default to real path). - the "front_url_filter" can be used in templates with… "front_url" filter - template_data is a new named tuple available in templates, which give site, theme and template relative URL - search order is site/theme, site/default_theme, and default/default_theme where default link to sat_pubsub templates - when loading CSS files, files with _noscript suffixes are now loaded, and used when javascript is not available - "styles_extra.css" is also loaded before "styles.css", useful when a theme want to reuse default style, and just override some rules - new site can be specified in sat.conf [DEFAULT] section, using sites_path_public_dict or sites_path_private_dict (where sites_path_private_dict won't be used in public frontends, like Libervia) - "private" argument of Renderer tells the renderer to load private sites or not - templates are now loaded from "templates" subdirectory, to differenciate them from other data like i18n - jp template output has been updated to handle those changes, and to manage absolute templates
author Goffi <goffi@goffi.org>
date Mon, 10 Sep 2018 08:58:18 +0200
parents 4aca060075b7
children c2e7bb251e3e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2571
4aca060075b7 setup: version is now set in SAT/VERSION, sat is not imported anymore in setup
Goffi <goffi@goffi.org>
parents: 2562
diff changeset
1 include MANIFEST.in sat/VERSION
268
7111b98c58b3 distribute: manifest now include all .py and .ini files
Goffi <goffi@goffi.org>
parents: 235
diff changeset
2 global-include *.py
7111b98c58b3 distribute: manifest now include all .py and .ini files
Goffi <goffi@goffi.org>
parents: 235
diff changeset
3 global-include *.ini
229
0154059ecf3f distutils: added MANIFEST.in
Goffi <goffi@goffi.org>
parents:
diff changeset
4 global-include *.po *.mo
0154059ecf3f distutils: added MANIFEST.in
Goffi <goffi@goffi.org>
parents:
diff changeset
5 global-include CHANGELOG COPYING* INSTALL README*
0154059ecf3f distutils: added MANIFEST.in
Goffi <goffi@goffi.org>
parents:
diff changeset
6 global-include *.sh
0154059ecf3f distutils: added MANIFEST.in
Goffi <goffi@goffi.org>
parents:
diff changeset
7 include src/sat.*
2001
b47492e8af0c installation (MANIFEST): added misc directory
Goffi <goffi@goffi.org>
parents: 1999
diff changeset
8 include misc
1291
0db0013c59dd remove remaining references to Wix
souliane <souliane@mailoo.org>
parents: 1196
diff changeset
9 include frontends/src/jp/jp frontends/src/primitivus/primitivus
2562
26edcf3a30eb core, setup: huge cleaning:
Goffi <goffi@goffi.org>
parents: 2001
diff changeset
10 include src/bridge/bridge_constructor
1999
30e83614af48 fixed exclusion of vim's undo file in MANIFEST.in
Goffi <goffi@goffi.org>
parents: 1291
diff changeset
11 global-exclude *.un~
270
4005bf3ce35d updated MANIFEST.in to exclude bridge_constructor's generated dir
Goffi <goffi@goffi.org>
parents: 268
diff changeset
12 prune src/bridge/bridge_constructor/generated