pyams-layer 2.0.0__tar.gz → 2.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/PKG-INFO +6 -1
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/docs/HISTORY.rst +5 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/setup.py +1 -1
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer/skin.py +17 -3
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer.egg-info/PKG-INFO +6 -1
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/LICENSE +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/MANIFEST.in +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/docs/PyAMS layers.puml +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/docs/PyAMS_layers.png +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/docs/README.rst +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/setup.cfg +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer/__init__.py +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer/doctests/README.rst +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer/include.py +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer/interfaces.py +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer/locales/fr/LC_MESSAGES/pyams_layer.mo +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer/locales/fr/LC_MESSAGES/pyams_layer.po +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer/locales/pyams_layer.pot +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer/resources.py +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer/tests/__init__.py +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer/tests/test_utilsdocs.py +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer/tests/test_utilsdocstrings.py +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer/vocabulary.py +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer.egg-info/SOURCES.txt +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer.egg-info/dependency_links.txt +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer.egg-info/namespace_packages.txt +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer.egg-info/not-zip-safe +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer.egg-info/requires.txt +0 -0
- {pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyams_layer
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.1.0
|
|
4
4
|
Summary: PyAMS base layers management
|
|
5
5
|
Home-page: https://pyams.readthedocs.io
|
|
6
6
|
Author: Thierry Florac
|
|
@@ -54,6 +54,11 @@ interfaces).
|
|
|
54
54
|
Changelog
|
|
55
55
|
=========
|
|
56
56
|
|
|
57
|
+
2.1.0
|
|
58
|
+
-----
|
|
59
|
+
- added deleters to files properties
|
|
60
|
+
- added support for Python 3.11 and 3.12
|
|
61
|
+
|
|
57
62
|
2.0.0
|
|
58
63
|
-----
|
|
59
64
|
- migrated to Pyramid 2.0
|
|
@@ -23,7 +23,7 @@ DOCS = os.path.join(os.path.dirname(__file__),
|
|
|
23
23
|
README = os.path.join(DOCS, 'README.rst')
|
|
24
24
|
HISTORY = os.path.join(DOCS, 'HISTORY.rst')
|
|
25
25
|
|
|
26
|
-
version = '2.
|
|
26
|
+
version = '2.1.0'
|
|
27
27
|
long_description = open(README).read() + '\n\n' + open(HISTORY).read()
|
|
28
28
|
|
|
29
29
|
tests_require = [
|
|
@@ -36,7 +36,6 @@ from pyams_utils.request import check_request
|
|
|
36
36
|
from pyams_utils.traversing import get_parent
|
|
37
37
|
from pyams_utils.zodb import volatile_property
|
|
38
38
|
|
|
39
|
-
|
|
40
39
|
__docformat__ = 'restructuredtext'
|
|
41
40
|
|
|
42
41
|
from pyams_layer import _ # pylint: disable=ungrouped-imports
|
|
@@ -139,6 +138,11 @@ class SkinnableContentMixin:
|
|
|
139
138
|
if value and (value is not TO_BE_DELETED):
|
|
140
139
|
self._custom_stylesheet.content_type = 'text/css'
|
|
141
140
|
IFileInfo(self._custom_stylesheet).filename = 'skin.css'
|
|
141
|
+
|
|
142
|
+
@custom_stylesheet.deleter
|
|
143
|
+
def custom_stylesheet(self):
|
|
144
|
+
"""Delete custom stylesheet"""
|
|
145
|
+
del self._custom_stylesheet
|
|
142
146
|
|
|
143
147
|
@property
|
|
144
148
|
def editor_stylesheet(self):
|
|
@@ -158,7 +162,12 @@ class SkinnableContentMixin:
|
|
|
158
162
|
if value and (value is not TO_BE_DELETED):
|
|
159
163
|
self._editor_stylesheet.content_type = 'text/css'
|
|
160
164
|
IFileInfo(self._editor_stylesheet).filename = 'editor-skin.css'
|
|
161
|
-
|
|
165
|
+
|
|
166
|
+
@editor_stylesheet.deleter
|
|
167
|
+
def editor_stylesheet(self):
|
|
168
|
+
"""Delete editor stylesheet"""
|
|
169
|
+
del self._editor_stylesheet
|
|
170
|
+
|
|
162
171
|
@property
|
|
163
172
|
def custom_script(self):
|
|
164
173
|
"""Get custom script"""
|
|
@@ -177,7 +186,12 @@ class SkinnableContentMixin:
|
|
|
177
186
|
if value and (value is not TO_BE_DELETED):
|
|
178
187
|
self._custom_script.content_type = 'text/javascript'
|
|
179
188
|
IFileInfo(self.custom_script).filename = 'skin.js'
|
|
180
|
-
|
|
189
|
+
|
|
190
|
+
@custom_script.deleter
|
|
191
|
+
def custom_script(self):
|
|
192
|
+
"""Delete custom script"""
|
|
193
|
+
del self._custom_script
|
|
194
|
+
|
|
181
195
|
def get_skin(self, request=None):
|
|
182
196
|
"""Get skin utility matching current settings"""
|
|
183
197
|
parent = self.skin_parent
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyams-layer
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.1.0
|
|
4
4
|
Summary: PyAMS base layers management
|
|
5
5
|
Home-page: https://pyams.readthedocs.io
|
|
6
6
|
Author: Thierry Florac
|
|
@@ -54,6 +54,11 @@ interfaces).
|
|
|
54
54
|
Changelog
|
|
55
55
|
=========
|
|
56
56
|
|
|
57
|
+
2.1.0
|
|
58
|
+
-----
|
|
59
|
+
- added deleters to files properties
|
|
60
|
+
- added support for Python 3.11 and 3.12
|
|
61
|
+
|
|
57
62
|
2.0.0
|
|
58
63
|
-----
|
|
59
64
|
- migrated to Pyramid 2.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer/locales/fr/LC_MESSAGES/pyams_layer.mo
RENAMED
|
File without changes
|
{pyams_layer-2.0.0 → pyams_layer-2.1.0}/src/pyams_layer/locales/fr/LC_MESSAGES/pyams_layer.po
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|