oarepo-runtime 1.5.57__py3-none-any.whl → 1.5.58__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- oarepo_runtime/cli/assets.py +5 -4
- {oarepo_runtime-1.5.57.dist-info → oarepo_runtime-1.5.58.dist-info}/METADATA +1 -1
- {oarepo_runtime-1.5.57.dist-info → oarepo_runtime-1.5.58.dist-info}/RECORD +7 -7
- {oarepo_runtime-1.5.57.dist-info → oarepo_runtime-1.5.58.dist-info}/LICENSE +0 -0
- {oarepo_runtime-1.5.57.dist-info → oarepo_runtime-1.5.58.dist-info}/WHEEL +0 -0
- {oarepo_runtime-1.5.57.dist-info → oarepo_runtime-1.5.58.dist-info}/entry_points.txt +0 -0
- {oarepo_runtime-1.5.57.dist-info → oarepo_runtime-1.5.58.dist-info}/top_level.txt +0 -0
oarepo_runtime/cli/assets.py
CHANGED
@@ -70,12 +70,13 @@ def collect(output_file, repository_dir, assets_dir):
|
|
70
70
|
def enumerate_assets():
|
71
71
|
asset_dirs = []
|
72
72
|
aliases = {}
|
73
|
-
|
73
|
+
themes = current_app.config["APP_THEME"] or ["semantic-ui"]
|
74
74
|
for ep in entry_points(group="invenio_assets.webpack"):
|
75
75
|
webpack = ep.load()
|
76
|
-
|
77
|
-
|
78
|
-
|
76
|
+
for wp_theme_name, wp_theme in webpack.themes.items():
|
77
|
+
if wp_theme_name in themes:
|
78
|
+
asset_dirs.append(wp_theme.path)
|
79
|
+
aliases.update(wp_theme.aliases)
|
79
80
|
return aliases, asset_dirs
|
80
81
|
|
81
82
|
|
@@ -5,7 +5,7 @@ oarepo_runtime/profile.py,sha256=QzrQoZncjoN74ZZnpkEKakNk08KCzBU7m6y42RN8AMY,163
|
|
5
5
|
oarepo_runtime/proxies.py,sha256=NN_WNj1xuKc-OveoZmzvTFlUonNjSmLIGsv_JUcHGls,285
|
6
6
|
oarepo_runtime/uow.py,sha256=iyF3R2oCPSVUu38GXoxZallgRD-619q1fWTb8sSaeyQ,4412
|
7
7
|
oarepo_runtime/cli/__init__.py,sha256=daAODgUAB9Nb0O0Kg8vSgJIPKJm92EHMTRuoKwxBCug,373
|
8
|
-
oarepo_runtime/cli/assets.py,sha256=
|
8
|
+
oarepo_runtime/cli/assets.py,sha256=Yrg9O2dXmrOGH87_3SNxmgrgyt2w4ZzkvQQJVTmLZjk,3634
|
9
9
|
oarepo_runtime/cli/base.py,sha256=94RBTa8TOSPxEyEUmYLGXaWen-XktP2-MIbTtZSlCZo,544
|
10
10
|
oarepo_runtime/cli/cf.py,sha256=W0JEJK2JqKubQw8qtZJxohmADDRUBode4JZAqYLDGvc,339
|
11
11
|
oarepo_runtime/cli/check.py,sha256=sCe2PeokSHvNOXHFZ8YHF8NMhsu5nYjyuZuvXHJ6X18,5092
|
@@ -119,9 +119,9 @@ oarepo_runtime/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
|
|
119
119
|
oarepo_runtime/utils/functools.py,sha256=gKS9YZtlIYcDvdNA9cmYO00yjiXBYV1jg8VpcRUyQyg,1324
|
120
120
|
oarepo_runtime/utils/path.py,sha256=V1NVyk3m12_YLbj7QHYvUpE1wScO78bYsX1LOLeXDkI,3108
|
121
121
|
tests/pkg_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
122
|
-
oarepo_runtime-1.5.
|
123
|
-
oarepo_runtime-1.5.
|
124
|
-
oarepo_runtime-1.5.
|
125
|
-
oarepo_runtime-1.5.
|
126
|
-
oarepo_runtime-1.5.
|
127
|
-
oarepo_runtime-1.5.
|
122
|
+
oarepo_runtime-1.5.58.dist-info/LICENSE,sha256=h2uWz0OaB3EN-J1ImdGJZzc7yvfQjvHVYdUhQ-H7ypY,1064
|
123
|
+
oarepo_runtime-1.5.58.dist-info/METADATA,sha256=9UdbdfnIle2-N6TfXHW5wlAOLYL-QDMcZ7CdU6ZbwCg,4720
|
124
|
+
oarepo_runtime-1.5.58.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
125
|
+
oarepo_runtime-1.5.58.dist-info/entry_points.txt,sha256=QrlXAKuPDVBinaSh_v3yO9_Nb9ZNmJCJ0VFcCW-z0Jg,327
|
126
|
+
oarepo_runtime-1.5.58.dist-info/top_level.txt,sha256=bHhlkT1_RQC4IkfTQCqA3iN4KCB6cSFQlsXpQMSP-bE,21
|
127
|
+
oarepo_runtime-1.5.58.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|