urban.schedule 1.0.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.
Files changed (70) hide show
  1. urban.schedule-1.0.0/CHANGES.rst +141 -0
  2. urban.schedule-1.0.0/CONTRIBUTORS.rst +4 -0
  3. urban.schedule-1.0.0/LICENSE.rst +14 -0
  4. urban.schedule-1.0.0/MANIFEST.in +13 -0
  5. urban.schedule-1.0.0/PKG-INFO +238 -0
  6. urban.schedule-1.0.0/README.rst +65 -0
  7. urban.schedule-1.0.0/docs/conf.py +84 -0
  8. urban.schedule-1.0.0/docs/index.md +16 -0
  9. urban.schedule-1.0.0/pyproject.toml +30 -0
  10. urban.schedule-1.0.0/setup.cfg +4 -0
  11. urban.schedule-1.0.0/setup.py +73 -0
  12. urban.schedule-1.0.0/src/urban/__init__.py +2 -0
  13. urban.schedule-1.0.0/src/urban/schedule/__init__.py +6 -0
  14. urban.schedule-1.0.0/src/urban/schedule/browser/__init__.py +0 -0
  15. urban.schedule-1.0.0/src/urban/schedule/browser/configure.zcml +21 -0
  16. urban.schedule-1.0.0/src/urban/schedule/browser/overrides/.gitkeep +0 -0
  17. urban.schedule-1.0.0/src/urban/schedule/browser/static/.gitkeep +0 -0
  18. urban.schedule-1.0.0/src/urban/schedule/conditions/__init__.py +0 -0
  19. urban.schedule-1.0.0/src/urban/schedule/conditions/configure.zcml +139 -0
  20. urban.schedule-1.0.0/src/urban/schedule/conditions/creation.py +79 -0
  21. urban.schedule-1.0.0/src/urban/schedule/conditions/ending.py +12 -0
  22. urban.schedule-1.0.0/src/urban/schedule/conditions/start_date.py +124 -0
  23. urban.schedule-1.0.0/src/urban/schedule/configure.zcml +41 -0
  24. urban.schedule-1.0.0/src/urban/schedule/interfaces.py +8 -0
  25. urban.schedule-1.0.0/src/urban/schedule/locales/README.rst +37 -0
  26. urban.schedule-1.0.0/src/urban/schedule/locales/__init__.py +0 -0
  27. urban.schedule-1.0.0/src/urban/schedule/locales/en/LC_MESSAGES/imio.schedule.mo +0 -0
  28. urban.schedule-1.0.0/src/urban/schedule/locales/en/LC_MESSAGES/imio.schedule.po +71 -0
  29. urban.schedule-1.0.0/src/urban/schedule/locales/en/LC_MESSAGES/urban.schedule.mo +0 -0
  30. urban.schedule-1.0.0/src/urban/schedule/locales/en/LC_MESSAGES/urban.schedule.po +31 -0
  31. urban.schedule-1.0.0/src/urban/schedule/locales/fr/LC_MESSAGES/imio.schedule.mo +0 -0
  32. urban.schedule-1.0.0/src/urban/schedule/locales/fr/LC_MESSAGES/imio.schedule.po +71 -0
  33. urban.schedule-1.0.0/src/urban/schedule/locales/fr/LC_MESSAGES/urban.schedule.mo +0 -0
  34. urban.schedule-1.0.0/src/urban/schedule/locales/fr/LC_MESSAGES/urban.schedule.po +31 -0
  35. urban.schedule-1.0.0/src/urban/schedule/locales/imio.schedule.pot +71 -0
  36. urban.schedule-1.0.0/src/urban/schedule/locales/update.py +74 -0
  37. urban.schedule-1.0.0/src/urban/schedule/locales/update.sh +16 -0
  38. urban.schedule-1.0.0/src/urban/schedule/locales/urban.schedule.pot +31 -0
  39. urban.schedule-1.0.0/src/urban/schedule/permissions.zcml +12 -0
  40. urban.schedule-1.0.0/src/urban/schedule/profiles/config/liege/codt_buildlicence/attente_plans_modifies.json +83 -0
  41. urban.schedule-1.0.0/src/urban/schedule/profiles/config/liege/codt_buildlicence/avis-fd.json +623 -0
  42. urban.schedule-1.0.0/src/urban/schedule/profiles/config/liege/codt_buildlicence/verif_complet.json +72 -0
  43. urban.schedule-1.0.0/src/urban/schedule/profiles/config/liege/codt_urbancertificatetwo/verif_complet.json +70 -0
  44. urban.schedule-1.0.0/src/urban/schedule/profiles/config/liege/roaddecree/decision-notification.json +273 -0
  45. urban.schedule-1.0.0/src/urban/schedule/profiles/config/standard/codt_buildlicence/reception.json +630 -0
  46. urban.schedule-1.0.0/src/urban/schedule/profiles/config/standard/codt_urbancertificatetwo/reception.json +488 -0
  47. urban.schedule-1.0.0/src/urban/schedule/profiles/config/standard/roaddecree/decision-notification.json +273 -0
  48. urban.schedule-1.0.0/src/urban/schedule/profiles/default/browserlayer.xml +7 -0
  49. urban.schedule-1.0.0/src/urban/schedule/profiles/default/catalog.xml +4 -0
  50. urban.schedule-1.0.0/src/urban/schedule/profiles/default/metadata.xml +6 -0
  51. urban.schedule-1.0.0/src/urban/schedule/profiles/default/registry/main.xml +8 -0
  52. urban.schedule-1.0.0/src/urban/schedule/profiles/default/rolemap.xml +7 -0
  53. urban.schedule-1.0.0/src/urban/schedule/profiles/uninstall/browserlayer.xml +7 -0
  54. urban.schedule-1.0.0/src/urban/schedule/setuphandlers.py +29 -0
  55. urban.schedule-1.0.0/src/urban/schedule/testing.py +50 -0
  56. urban.schedule-1.0.0/src/urban/schedule/tests/__init__.py +0 -0
  57. urban.schedule-1.0.0/src/urban/schedule/tests/robot/test_example.robot +66 -0
  58. urban.schedule-1.0.0/src/urban/schedule/tests/test_robot.py +31 -0
  59. urban.schedule-1.0.0/src/urban/schedule/tests/test_setup.py +54 -0
  60. urban.schedule-1.0.0/src/urban/schedule/upgrades.py +92 -0
  61. urban.schedule-1.0.0/src/urban/schedule/upgrades.zcml +60 -0
  62. urban.schedule-1.0.0/src/urban/schedule/utils.py +189 -0
  63. urban.schedule-1.0.0/src/urban.schedule.egg-info/PKG-INFO +238 -0
  64. urban.schedule-1.0.0/src/urban.schedule.egg-info/SOURCES.txt +68 -0
  65. urban.schedule-1.0.0/src/urban.schedule.egg-info/dependency_links.txt +1 -0
  66. urban.schedule-1.0.0/src/urban.schedule.egg-info/entry_points.txt +5 -0
  67. urban.schedule-1.0.0/src/urban.schedule.egg-info/namespace_packages.txt +1 -0
  68. urban.schedule-1.0.0/src/urban.schedule.egg-info/not-zip-safe +1 -0
  69. urban.schedule-1.0.0/src/urban.schedule.egg-info/requires.txt +14 -0
  70. urban.schedule-1.0.0/src/urban.schedule.egg-info/top_level.txt +1 -0
@@ -0,0 +1,141 @@
1
+ Changelog
2
+ =========
3
+
4
+ .. You should *NOT* be adding new change log entries to this file.
5
+ You should create a file in the news directory instead.
6
+ For helpful instructions, please see:
7
+ https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst
8
+
9
+ .. towncrier release notes start
10
+
11
+ 1.0.0 (2025-05-27)
12
+ ------------------
13
+
14
+ New features:
15
+
16
+
17
+ - Add creation conditions `deposit_past_20days`, `deposit_under_20days` and `deposit_number_match`.
18
+ Add ending condition `is_suspended_ending`.
19
+ Update recurrence conditions for amended plans.
20
+ [mpeeters] (URB-3154)
21
+ - Add possiblity to specify key to update when updating config
22
+ [jchandelle] (URB-3331)
23
+
24
+
25
+ Internal:
26
+
27
+
28
+ - Do not import file that are not JSON
29
+ [mpeeters] (URB-3154)
30
+
31
+
32
+ 1.0.0a8 (2024-12-03)
33
+ --------------------
34
+
35
+ New features:
36
+
37
+
38
+ - Add two new creation conditions `IsPloneMeetingCollegeDone` and `IsPloneMeetingCouncilDone`.
39
+ [aduchene]
40
+ Add two new start dates `PloneMeetingCollegeDecidedDate` and `PloneMeetingCouncilDecidedDate`.
41
+ [aduchene]
42
+ Add roaddecree tasks for liege.
43
+ [aduchene] (URB-3150)
44
+ - Add roaddecree tasks for classic.
45
+ [aduchene] (URB-3151)
46
+
47
+
48
+ 1.0.0a7 (2024-10-25)
49
+ --------------------
50
+
51
+ Bug fixes:
52
+
53
+
54
+ - Update schedule config for reception (skip existing)
55
+ [daggelpop] (URB-3005)
56
+
57
+
58
+ 1.0.0a6 (2024-10-16)
59
+ --------------------
60
+
61
+ New features:
62
+
63
+
64
+ - Add two new creation conditions `IsPloneMeetingCollegeDone` and `IsPloneMeetingCouncilDone`.
65
+ [aduchene]
66
+ Add two new start dates `PloneMeetingCollegeDecidedDate` and `PloneMeetingCouncilDecidedDate`.
67
+ [aduchene]
68
+ Add roaddecree tasks for liege.
69
+ [aduchene] (URB-3150)
70
+
71
+
72
+ 1.0.0a5 (2024-10-01)
73
+ --------------------
74
+
75
+ Bug fixes:
76
+
77
+
78
+ - Add amended plans translations
79
+ [daggelpop] (URB-3005)
80
+
81
+
82
+ 1.0.0a4 (2024-06-27)
83
+ --------------------
84
+
85
+ New features:
86
+
87
+
88
+ - Add start_date and conditional adapter for amended plans
89
+ [daggelpop]
90
+ Add task config for amended plans
91
+ [daggelpop]
92
+ Add config for `recepisse-de-plans-modificatifs` event
93
+ [daggelpop]
94
+ Adapt `AcknowledgmentLimitDate` for `IntentionToSubmitAmendedPlans`
95
+ [daggelpop]
96
+ Change opinion FD delay for codt 2024 change
97
+ [jchandelle] (URB-3005)
98
+
99
+
100
+ 1.0.0a3 (2024-03-30)
101
+ --------------------
102
+
103
+ New features:
104
+
105
+
106
+ - Store checking completion task config for liege.
107
+ Store reception task config for CODT Buildlicence and CU on Urban classic.
108
+ [daggelpop, mpeeters] (URB-3005)
109
+
110
+
111
+ Internal:
112
+
113
+
114
+ - Add french translations for conditions.
115
+ Handle specific configuration for Liege and Urban classic.
116
+ Improve import of config by adding `match_filename` optional parameter to only import one config filename.
117
+ [mpeeters] (URB-3005)
118
+
119
+
120
+ 1.0.0a2 (2024-03-14)
121
+ --------------------
122
+
123
+ Bug fixes:
124
+
125
+
126
+ - Fix import uid and @id and fix existing content handling
127
+ Fix enum dependency
128
+ [jchandelle] (URB-3005)
129
+
130
+
131
+ 1.0.0a1 (2024-03-12)
132
+ --------------------
133
+
134
+ New features:
135
+
136
+
137
+ - Add conditions to determine if the current content is under the new reform or not
138
+ [mpeeters] (URB-3004)
139
+ - Add upgrade step to import schedule config
140
+ Adapt `urban.schedule.start_date.acknowledgment_limit_date` to handle the new rules of the CODT reform
141
+ [jchandelle, mpeeters] (URB-3005)
@@ -0,0 +1,4 @@
1
+ Contributors
2
+ ============
3
+
4
+ - Martin Peeters [mpeeters]
@@ -0,0 +1,14 @@
1
+ urban.schedule Copyright 2021, Affinitic
2
+ This program is free software; you can redistribute it and/or
3
+ modify it under the terms of the GNU General Public License version 2
4
+ as published by the Free Software Foundation.
5
+
6
+ This program is distributed in the hope that it will be useful,
7
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
8
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9
+ GNU General Public License for more details.
10
+
11
+ You should have received a copy of the GNU General Public License
12
+ along with this program; if not, write to the Free Software
13
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston,
14
+ MA 02111-1307 USA.
@@ -0,0 +1,13 @@
1
+ graft src/urban
2
+ graft docs
3
+ include *.rst
4
+ global-exclude *.pyc
5
+ prune news
6
+ exclude *.cfg
7
+ exclude .coveragerc
8
+ exclude .editorconfig
9
+ exclude .mcli
10
+ exclude Dockerfile
11
+ exclude Makefile
12
+ exclude cookiecutter.json
13
+ include *.toml
@@ -0,0 +1,238 @@
1
+ Metadata-Version: 2.1
2
+ Name: urban.schedule
3
+ Version: 1.0.0
4
+ Summary: Schedule configuration for Urban
5
+ Home-page: https://github.com/IMIO/urban.schedule
6
+ Author: Affinitic
7
+ Author-email: support@imio.be
8
+ License: GPL version 2
9
+ Project-URL: PyPI, https://pypi.python.org/pypi/urban.schedule
10
+ Project-URL: Source, https://github.com/IMIO/urban.schedule
11
+ Project-URL: Tracker, https://github.com/IMIO/urban.schedule/issues
12
+ Keywords: Python Plone CMS
13
+ Classifier: Environment :: Web Environment
14
+ Classifier: Framework :: Plone
15
+ Classifier: Framework :: Plone :: Addon
16
+ Classifier: Framework :: Plone :: 4.3
17
+ Classifier: Programming Language :: Python
18
+ Classifier: Programming Language :: Python :: 2.7
19
+ Classifier: Operating System :: OS Independent
20
+ Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
21
+ Requires-Python: ==2.7
22
+ Provides-Extra: test
23
+ License-File: LICENSE.rst
24
+
25
+ ==============
26
+ urban.schedule
27
+ ==============
28
+
29
+ Schedule configuration for Urban
30
+
31
+ Features
32
+ --------
33
+
34
+ - Can be bullet points
35
+
36
+
37
+ Examples
38
+ --------
39
+
40
+ This add-on can be seen in action at the following sites:
41
+ - Is there a page on the internet where everybody can see the features?
42
+
43
+
44
+ Documentation
45
+ -------------
46
+
47
+ Full documentation for end users can be found in the "docs" folder, and is also available online at ...
48
+
49
+
50
+ Translations
51
+ ------------
52
+
53
+ This product has been translated into
54
+
55
+ - French
56
+
57
+
58
+ Installation
59
+ ------------
60
+
61
+ Install urban.schedule by adding it to your buildout::
62
+
63
+ [buildout]
64
+
65
+ ...
66
+
67
+ eggs =
68
+ urban.schedule
69
+
70
+
71
+ and then running ``bin/buildout``
72
+
73
+
74
+ Contribute
75
+ ----------
76
+
77
+ - Issue Tracker: https://github.com/IMIO/urban.schedule/issues
78
+ - Source Code: https://github.com/IMIO/urban.schedule
79
+
80
+
81
+ Support
82
+ -------
83
+
84
+ If you are having issues, please let us know.
85
+
86
+
87
+ License
88
+ -------
89
+ The project is licensed under the GPLv2.
90
+
91
+
92
+ Contributors
93
+ ============
94
+
95
+ - Martin Peeters [mpeeters]
96
+
97
+
98
+ Changelog
99
+ =========
100
+
101
+ .. You should *NOT* be adding new change log entries to this file.
102
+ You should create a file in the news directory instead.
103
+ For helpful instructions, please see:
104
+ https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst
105
+
106
+ .. towncrier release notes start
107
+
108
+ 1.0.0 (2025-05-27)
109
+ ------------------
110
+
111
+ New features:
112
+
113
+
114
+ - Add creation conditions `deposit_past_20days`, `deposit_under_20days` and `deposit_number_match`.
115
+ Add ending condition `is_suspended_ending`.
116
+ Update recurrence conditions for amended plans.
117
+ [mpeeters] (URB-3154)
118
+ - Add possiblity to specify key to update when updating config
119
+ [jchandelle] (URB-3331)
120
+
121
+
122
+ Internal:
123
+
124
+
125
+ - Do not import file that are not JSON
126
+ [mpeeters] (URB-3154)
127
+
128
+
129
+ 1.0.0a8 (2024-12-03)
130
+ --------------------
131
+
132
+ New features:
133
+
134
+
135
+ - Add two new creation conditions `IsPloneMeetingCollegeDone` and `IsPloneMeetingCouncilDone`.
136
+ [aduchene]
137
+ Add two new start dates `PloneMeetingCollegeDecidedDate` and `PloneMeetingCouncilDecidedDate`.
138
+ [aduchene]
139
+ Add roaddecree tasks for liege.
140
+ [aduchene] (URB-3150)
141
+ - Add roaddecree tasks for classic.
142
+ [aduchene] (URB-3151)
143
+
144
+
145
+ 1.0.0a7 (2024-10-25)
146
+ --------------------
147
+
148
+ Bug fixes:
149
+
150
+
151
+ - Update schedule config for reception (skip existing)
152
+ [daggelpop] (URB-3005)
153
+
154
+
155
+ 1.0.0a6 (2024-10-16)
156
+ --------------------
157
+
158
+ New features:
159
+
160
+
161
+ - Add two new creation conditions `IsPloneMeetingCollegeDone` and `IsPloneMeetingCouncilDone`.
162
+ [aduchene]
163
+ Add two new start dates `PloneMeetingCollegeDecidedDate` and `PloneMeetingCouncilDecidedDate`.
164
+ [aduchene]
165
+ Add roaddecree tasks for liege.
166
+ [aduchene] (URB-3150)
167
+
168
+
169
+ 1.0.0a5 (2024-10-01)
170
+ --------------------
171
+
172
+ Bug fixes:
173
+
174
+
175
+ - Add amended plans translations
176
+ [daggelpop] (URB-3005)
177
+
178
+
179
+ 1.0.0a4 (2024-06-27)
180
+ --------------------
181
+
182
+ New features:
183
+
184
+
185
+ - Add start_date and conditional adapter for amended plans
186
+ [daggelpop]
187
+ Add task config for amended plans
188
+ [daggelpop]
189
+ Add config for `recepisse-de-plans-modificatifs` event
190
+ [daggelpop]
191
+ Adapt `AcknowledgmentLimitDate` for `IntentionToSubmitAmendedPlans`
192
+ [daggelpop]
193
+ Change opinion FD delay for codt 2024 change
194
+ [jchandelle] (URB-3005)
195
+
196
+
197
+ 1.0.0a3 (2024-03-30)
198
+ --------------------
199
+
200
+ New features:
201
+
202
+
203
+ - Store checking completion task config for liege.
204
+ Store reception task config for CODT Buildlicence and CU on Urban classic.
205
+ [daggelpop, mpeeters] (URB-3005)
206
+
207
+
208
+ Internal:
209
+
210
+
211
+ - Add french translations for conditions.
212
+ Handle specific configuration for Liege and Urban classic.
213
+ Improve import of config by adding `match_filename` optional parameter to only import one config filename.
214
+ [mpeeters] (URB-3005)
215
+
216
+
217
+ 1.0.0a2 (2024-03-14)
218
+ --------------------
219
+
220
+ Bug fixes:
221
+
222
+
223
+ - Fix import uid and @id and fix existing content handling
224
+ Fix enum dependency
225
+ [jchandelle] (URB-3005)
226
+
227
+
228
+ 1.0.0a1 (2024-03-12)
229
+ --------------------
230
+
231
+ New features:
232
+
233
+
234
+ - Add conditions to determine if the current content is under the new reform or not
235
+ [mpeeters] (URB-3004)
236
+ - Add upgrade step to import schedule config
237
+ Adapt `urban.schedule.start_date.acknowledgment_limit_date` to handle the new rules of the CODT reform
238
+ [jchandelle, mpeeters] (URB-3005)
@@ -0,0 +1,65 @@
1
+ ==============
2
+ urban.schedule
3
+ ==============
4
+
5
+ Schedule configuration for Urban
6
+
7
+ Features
8
+ --------
9
+
10
+ - Can be bullet points
11
+
12
+
13
+ Examples
14
+ --------
15
+
16
+ This add-on can be seen in action at the following sites:
17
+ - Is there a page on the internet where everybody can see the features?
18
+
19
+
20
+ Documentation
21
+ -------------
22
+
23
+ Full documentation for end users can be found in the "docs" folder, and is also available online at ...
24
+
25
+
26
+ Translations
27
+ ------------
28
+
29
+ This product has been translated into
30
+
31
+ - French
32
+
33
+
34
+ Installation
35
+ ------------
36
+
37
+ Install urban.schedule by adding it to your buildout::
38
+
39
+ [buildout]
40
+
41
+ ...
42
+
43
+ eggs =
44
+ urban.schedule
45
+
46
+
47
+ and then running ``bin/buildout``
48
+
49
+
50
+ Contribute
51
+ ----------
52
+
53
+ - Issue Tracker: https://github.com/IMIO/urban.schedule/issues
54
+ - Source Code: https://github.com/IMIO/urban.schedule
55
+
56
+
57
+ Support
58
+ -------
59
+
60
+ If you are having issues, please let us know.
61
+
62
+
63
+ License
64
+ -------
65
+ The project is licensed under the GPLv2.
@@ -0,0 +1,84 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ from pkg_resources import get_distribution
4
+
5
+ import sys
6
+
7
+ project = "urban.schedule"
8
+ copyright = "2023, iMio"
9
+
10
+ version = release = get_distribution(project).version
11
+
12
+
13
+ # The suffix of source filenames.
14
+ source_suffix = {
15
+ ".md": "markdown",
16
+ ".rst": "restructuredtext",
17
+ }
18
+
19
+ extensions = [
20
+ "sphinx.ext.doctest",
21
+ "sphinx.ext.coverage",
22
+ "sphinx.ext.autodoc",
23
+ "sphinx.ext.viewcode",
24
+ "sphinx.ext.autosummary",
25
+ "myst_parser",
26
+ "sphinx.ext.todo",
27
+ ]
28
+ master_doc = "index"
29
+
30
+ locale_dirs = ["translated/"]
31
+ language = "en"
32
+
33
+ # Grouping the document tree into LaTeX files. List of tuples
34
+ # (source start file, target name, title, author, documentclass [howto/manual])
35
+ # This enables PDF generation.
36
+ latex_documents = [
37
+ (
38
+ "index",
39
+ "urban.schedule.tex",
40
+ "urban.schedule Documentation",
41
+ "",
42
+ "manual",
43
+ )
44
+ ]
45
+
46
+
47
+ class Mock:
48
+ def __init__(self, *args, **kwargs):
49
+ pass
50
+
51
+ def __call__(self, *args, **kwargs):
52
+ return Mock()
53
+
54
+ @classmethod
55
+ def __getattr__(cls, name):
56
+ if name in ("__file__", "__path__"):
57
+ return "/dev/null"
58
+ elif name[0] == name[0].upper():
59
+ mockType = type(name, (), {})
60
+ mockType.__module__ = __name__
61
+ return mockType
62
+ else:
63
+ return Mock()
64
+
65
+
66
+ MOCK_MODULES = ["lxml"]
67
+ for mod_name in MOCK_MODULES:
68
+ sys.modules[mod_name] = Mock()
69
+
70
+
71
+ # -- Options for myST markdown conversion to html -----------------------------
72
+
73
+ myst_enable_extensions = [
74
+ "colon_fence",
75
+ "deflist",
76
+ ]
77
+
78
+
79
+ # -- Options for HTML output -------------------------------------------------
80
+
81
+ # The theme to use for HTML and HTML Help pages. See the documentation for
82
+ # a list of builtin themes.
83
+ #
84
+ html_theme = "sphinx_book_theme"
@@ -0,0 +1,16 @@
1
+ ---
2
+ html_meta:
3
+ "description": "Schedule configuration for Urban"
4
+ "property=og:description": "Schedule configuration for Urban"
5
+ "property=og:title": "urban.schedule"
6
+ "keywords": "Plone, ..."
7
+ ---
8
+
9
+ # `urban.schedule`
10
+
11
+
12
+ ## Indices and tables
13
+
14
+ - {ref}`genindex`
15
+ - {ref}`modindex`
16
+ - {ref}`search`
@@ -0,0 +1,30 @@
1
+ [tool.towncrier]
2
+ filename = "CHANGES.rst"
3
+ directory = "news/"
4
+ title_format = "{version} ({project_date})"
5
+ underlines = ["-", ""]
6
+
7
+ [[tool.towncrier.type]]
8
+ directory = "breaking"
9
+ name = "Breaking changes:"
10
+ showcontent = true
11
+
12
+ [[tool.towncrier.type]]
13
+ directory = "feature"
14
+ name = "New features:"
15
+ showcontent = true
16
+
17
+ [[tool.towncrier.type]]
18
+ directory = "bugfix"
19
+ name = "Bug fixes:"
20
+ showcontent = true
21
+
22
+ [[tool.towncrier.type]]
23
+ directory = "internal"
24
+ name = "Internal:"
25
+ showcontent = true
26
+
27
+ [[tool.towncrier.type]]
28
+ directory = "documentation"
29
+ name = "Documentation:"
30
+ showcontent = true
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,73 @@
1
+ # -*- coding: utf-8 -*-
2
+ """Installer for the urban.schedule package."""
3
+
4
+ from setuptools import find_packages
5
+ from setuptools import setup
6
+
7
+ long_description = "\n\n".join(
8
+ [
9
+ open("README.rst").read(),
10
+ open("CONTRIBUTORS.rst").read(),
11
+ open("CHANGES.rst").read(),
12
+ ]
13
+ )
14
+
15
+
16
+ setup(
17
+ name="urban.schedule",
18
+ version="1.0.0",
19
+ description="Schedule configuration for Urban",
20
+ long_description=long_description,
21
+ # Get more from https://pypi.org/classifiers/
22
+ classifiers=[
23
+ "Environment :: Web Environment",
24
+ "Framework :: Plone",
25
+ "Framework :: Plone :: Addon",
26
+ "Framework :: Plone :: 4.3",
27
+ "Programming Language :: Python",
28
+ "Programming Language :: Python :: 2.7",
29
+ "Operating System :: OS Independent",
30
+ "License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
31
+ ],
32
+ keywords="Python Plone CMS",
33
+ author="Affinitic",
34
+ author_email="support@imio.be",
35
+ url="https://github.com/IMIO/urban.schedule",
36
+ project_urls={
37
+ "PyPI": "https://pypi.python.org/pypi/urban.schedule",
38
+ "Source": "https://github.com/IMIO/urban.schedule",
39
+ "Tracker": "https://github.com/IMIO/urban.schedule/issues",
40
+ },
41
+ license="GPL version 2",
42
+ packages=find_packages("src", exclude=["ez_setup"]),
43
+ namespace_packages=["urban"],
44
+ package_dir={"": "src"},
45
+ include_package_data=True,
46
+ zip_safe=False,
47
+ python_requires="==2.7",
48
+ install_requires=[
49
+ "setuptools",
50
+ # -*- Extra requirements: -*-
51
+ "plone.api",
52
+ "plone.app.dexterity",
53
+ "plone.restapi",
54
+ "z3c.jbot",
55
+ 'enum34',
56
+ ],
57
+ extras_require={
58
+ "test": [
59
+ "plone.app.contenttypes",
60
+ "plone.app.iterate",
61
+ "plone.app.robotframework[debug]",
62
+ "plone.app.testing",
63
+ "plone.testing",
64
+ "collective.exportimport",
65
+ ],
66
+ },
67
+ entry_points="""
68
+ [z3c.autoinclude.plugin]
69
+ target = plone
70
+ [console_scripts]
71
+ update_locale = urban.schedule.locales.update:update_locale
72
+ """,
73
+ )
@@ -0,0 +1,2 @@
1
+ # -*- coding: utf-8 -*-
2
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1,6 @@
1
+ # -*- coding: utf-8 -*-
2
+ """Init and utils."""
3
+ from zope.i18nmessageid import MessageFactory
4
+
5
+
6
+ _ = MessageFactory("urban.schedule")