plone.autoinclude 2.0.4__tar.gz → 3.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 (186) hide show
  1. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/CHANGES.rst +50 -1
  2. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/MANIFEST.in +1 -0
  3. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/PKG-INFO +53 -8
  4. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/buildout.cfg +16 -7
  5. plone_autoinclude-3.0.0/buildout5.cfg +6 -0
  6. plone_autoinclude-3.0.0/package-includes/plone.autoinclude-configure.zcml +10 -0
  7. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/package-includes/plone.autoinclude-meta.zcml +16 -5
  8. plone_autoinclude-3.0.0/package-includes/plone.autoinclude-overrides.zcml +10 -0
  9. plone_autoinclude-3.0.0/pyproject.toml +167 -0
  10. plone_autoinclude-3.0.0/setup.cfg +13 -0
  11. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/setup.py +3 -12
  12. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/src/plone/autoinclude/meta.zcml +4 -3
  13. plone_autoinclude-3.0.0/src/plone/autoinclude/ploneinclude/configure.zcml +10 -0
  14. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/src/plone/autoinclude/ploneinclude/meta.zcml +16 -5
  15. plone_autoinclude-3.0.0/src/plone/autoinclude/ploneinclude/overrides.zcml +10 -0
  16. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/src/plone/autoinclude/tests/test_loader.py +0 -26
  17. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/src/plone.autoinclude.egg-info/PKG-INFO +53 -8
  18. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/src/plone.autoinclude.egg-info/SOURCES.txt +12 -14
  19. plone_autoinclude-3.0.0/src/plone.autoinclude.egg-info/requires.txt +1 -0
  20. plone_autoinclude-3.0.0/test-packages/ExampleCamelCase/setup.py +18 -0
  21. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/ExampleCamelCase/src/ExampleCamelCase/configure.zcml +2 -1
  22. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.addon/setup.py +0 -8
  23. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.addon/src/example/addon/configure.zcml +1 -2
  24. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.addon/src/example/addon/meta.zcml +2 -1
  25. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.addon/src/example/addon/overrides.zcml +1 -2
  26. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.basetestpackage/setup.py +1 -9
  27. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.basetestpackage/src/example/basetestpackage/integration_base.py +7 -7
  28. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.basetestpackage/src/example/basetestpackage/package_base.py +7 -6
  29. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.different/setup.py +0 -8
  30. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.different/src/example/somethingelse/configure.zcml +1 -2
  31. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.different/src/example/somethingelse/meta.zcml +2 -1
  32. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.different/src/example/somethingelse/overrides.zcml +1 -2
  33. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.different2/setup.py +0 -8
  34. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.different2/src/example/somethingelse2/configure.zcml +1 -2
  35. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.different2/src/example/somethingelse2/meta.zcml +2 -1
  36. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.different2/src/example/somethingelse2/overrides.zcml +1 -2
  37. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.metaoverrides/setup.py +0 -8
  38. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.metaoverrides/src/example/metaoverrides/meta.zcml +2 -1
  39. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.metaoverrides/src/example/metaoverrides/overrides.zcml +1 -2
  40. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.multipleeps/setup.py +0 -8
  41. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.multipleeps/src/example/multipleeps/configure.zcml +2 -1
  42. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.plone-dash-addon/setup.py +0 -8
  43. {plone_autoinclude-2.0.4/test-packages/example.ploneaddon/src/example/ploneaddon → plone_autoinclude-3.0.0/test-packages/example.plone-dash-addon/src/example/plone_dash_addon}/browser/configure.zcml +2 -1
  44. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.plone-dash-addon/src/example/plone_dash_addon/configure.zcml +2 -1
  45. plone_autoinclude-3.0.0/test-packages/example.plone-dash-addon/src/example/plone_dash_addon/permissions.zcml +3 -0
  46. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.ploneaddon/setup.py +0 -8
  47. {plone_autoinclude-2.0.4/test-packages/example.plone-dash-addon/src/example/plone_dash_addon → plone_autoinclude-3.0.0/test-packages/example.ploneaddon/src/example/ploneaddon}/browser/configure.zcml +2 -1
  48. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.ploneaddon/src/example/ploneaddon/configure.zcml +2 -1
  49. plone_autoinclude-3.0.0/test-packages/example.ploneaddon/src/example/ploneaddon/permissions.zcml +3 -0
  50. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.ploneintegration/setup.py +0 -6
  51. plone_autoinclude-3.0.0/test-packages/example.ploneintegration/src/example/ploneintegration/configure.zcml +10 -0
  52. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.ploneintegration/src/example/ploneintegration/meta.zcml +10 -3
  53. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.ploneintegration/src/example/ploneintegration/overrides.zcml +1 -2
  54. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.ploneintegration/src/example/ploneintegration/tests.py +5 -0
  55. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.zopeaddon/setup.py +0 -8
  56. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.zopeaddon/src/example/zopeaddon/browser/browser-overrides.zcml +1 -2
  57. {plone_autoinclude-2.0.4/test-packages/namespaceexample.native/src/namespaceexample/native → plone_autoinclude-3.0.0/test-packages/example.zopeaddon/src/example/zopeaddon}/browser/configure.zcml +2 -1
  58. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.zopeaddon/src/example/zopeaddon/browser/meta.zcml +2 -1
  59. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.zopeaddon/src/example/zopeaddon/configure.zcml +1 -2
  60. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.zopeaddon/src/example/zopeaddon/meta.zcml +6 -2
  61. plone_autoinclude-3.0.0/test-packages/example.zopeaddon/src/example/zopeaddon/overrides.zcml +10 -0
  62. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.zopeintegration/setup.py +0 -6
  63. plone_autoinclude-3.0.0/test-packages/example.zopeintegration/src/example/zopeintegration/configure.zcml +10 -0
  64. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.zopeintegration/src/example/zopeintegration/meta.zcml +10 -3
  65. plone_autoinclude-3.0.0/test-packages/example.zopeintegration/src/example/zopeintegration/overrides.zcml +10 -0
  66. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/namespaceexample.native/setup.py +0 -7
  67. {plone_autoinclude-2.0.4/test-packages/example.zopeaddon/src/example/zopeaddon → plone_autoinclude-3.0.0/test-packages/namespaceexample.native/src/namespaceexample/native}/browser/configure.zcml +2 -1
  68. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/namespaceexample.native/src/namespaceexample/native/configure.zcml +2 -1
  69. plone_autoinclude-3.0.0/test-packages/namespaceexample.native/src/namespaceexample/native/permissions.zcml +3 -0
  70. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/namespaceexample.pkgutilns/setup.py +0 -7
  71. plone_autoinclude-3.0.0/test-packages/namespaceexample.pkgutilns/src/namespaceexample/pkgutilns/browser/configure.zcml +6 -0
  72. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/namespaceexample.pkgutilns/src/namespaceexample/pkgutilns/configure.zcml +2 -1
  73. plone_autoinclude-3.0.0/test-packages/namespaceexample.pkgutilns/src/namespaceexample/pkgutilns/permissions.zcml +3 -0
  74. plone_autoinclude-3.0.0/test-packages/namespaceexample2.pkgresources/MANIFEST.in +2 -0
  75. plone_autoinclude-3.0.0/test-packages/namespaceexample2.pkgresources/pyproject.toml +2 -0
  76. {plone_autoinclude-2.0.4/test-packages/ExampleCamelCase → plone_autoinclude-3.0.0/test-packages/namespaceexample2.pkgresources}/setup.py +2 -2
  77. {plone_autoinclude-2.0.4/src/plone → plone_autoinclude-3.0.0/test-packages/namespaceexample2.pkgresources/src/namespaceexample2}/__init__.py +0 -1
  78. plone_autoinclude-3.0.0/test-packages/namespaceexample2.pkgresources/src/namespaceexample2/pkgresources/__init__.py +1 -0
  79. plone_autoinclude-3.0.0/test-packages/namespaceexample2.pkgresources/src/namespaceexample2/pkgresources/browser/__init__.py +0 -0
  80. plone_autoinclude-3.0.0/test-packages/namespaceexample2.pkgresources/src/namespaceexample2/pkgresources/browser/configure.zcml +6 -0
  81. plone_autoinclude-3.0.0/test-packages/namespaceexample2.pkgresources/src/namespaceexample2/pkgresources/configure.zcml +21 -0
  82. plone_autoinclude-3.0.0/test-packages/namespaceexample2.pkgresources/src/namespaceexample2/pkgresources/permissions.zcml +3 -0
  83. plone_autoinclude-3.0.0/test-packages/namespaceexample2.pkgresources/src/namespaceexample2/pkgresources/tests.py +11 -0
  84. plone_autoinclude-3.0.0/tox.ini +332 -0
  85. plone_autoinclude-2.0.4/package-includes/plone.autoinclude-configure.zcml +0 -4
  86. plone_autoinclude-2.0.4/package-includes/plone.autoinclude-overrides.zcml +0 -4
  87. plone_autoinclude-2.0.4/pyproject.toml +0 -38
  88. plone_autoinclude-2.0.4/setup.cfg +0 -37
  89. plone_autoinclude-2.0.4/src/plone/autoinclude/ploneinclude/configure.zcml +0 -4
  90. plone_autoinclude-2.0.4/src/plone/autoinclude/ploneinclude/overrides.zcml +0 -4
  91. plone_autoinclude-2.0.4/src/plone.autoinclude.egg-info/namespace_packages.txt +0 -1
  92. plone_autoinclude-2.0.4/src/plone.autoinclude.egg-info/requires.txt +0 -5
  93. plone_autoinclude-2.0.4/test-packages/example.addon/src/example/__init__.py +0 -2
  94. plone_autoinclude-2.0.4/test-packages/example.basetestpackage/src/example/__init__.py +0 -2
  95. plone_autoinclude-2.0.4/test-packages/example.different/src/example/__init__.py +0 -2
  96. plone_autoinclude-2.0.4/test-packages/example.different2/src/example/__init__.py +0 -2
  97. plone_autoinclude-2.0.4/test-packages/example.metaoverrides/src/example/__init__.py +0 -2
  98. plone_autoinclude-2.0.4/test-packages/example.multipleeps/src/example/__init__.py +0 -2
  99. plone_autoinclude-2.0.4/test-packages/example.plone-dash-addon/src/example/__init__.py +0 -2
  100. plone_autoinclude-2.0.4/test-packages/example.plone-dash-addon/src/example/plone_dash_addon/permissions.zcml +0 -4
  101. plone_autoinclude-2.0.4/test-packages/example.ploneaddon/src/example/__init__.py +0 -2
  102. plone_autoinclude-2.0.4/test-packages/example.ploneaddon/src/example/ploneaddon/permissions.zcml +0 -4
  103. plone_autoinclude-2.0.4/test-packages/example.ploneintegration/src/example/__init__.py +0 -2
  104. plone_autoinclude-2.0.4/test-packages/example.ploneintegration/src/example/ploneintegration/configure.zcml +0 -8
  105. plone_autoinclude-2.0.4/test-packages/example.zopeaddon/src/example/__init__.py +0 -2
  106. plone_autoinclude-2.0.4/test-packages/example.zopeaddon/src/example/zopeaddon/overrides.zcml +0 -8
  107. plone_autoinclude-2.0.4/test-packages/example.zopeintegration/src/example/__init__.py +0 -2
  108. plone_autoinclude-2.0.4/test-packages/example.zopeintegration/src/example/zopeintegration/configure.zcml +0 -8
  109. plone_autoinclude-2.0.4/test-packages/example.zopeintegration/src/example/zopeintegration/overrides.zcml +0 -8
  110. plone_autoinclude-2.0.4/test-packages/namespaceexample.native/src/namespaceexample/native/permissions.zcml +0 -4
  111. plone_autoinclude-2.0.4/test-packages/namespaceexample.pkgutilns/src/namespaceexample/pkgutilns/browser/configure.zcml +0 -5
  112. plone_autoinclude-2.0.4/test-packages/namespaceexample.pkgutilns/src/namespaceexample/pkgutilns/permissions.zcml +0 -4
  113. plone_autoinclude-2.0.4/tox.ini +0 -156
  114. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/LICENSE.GPL +0 -0
  115. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/LICENSE.rst +0 -0
  116. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/README.rst +0 -0
  117. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/src/plone/autoinclude/__init__.py +0 -0
  118. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/src/plone/autoinclude/loader.py +0 -0
  119. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/src/plone/autoinclude/ploneinclude/__init__.py +0 -0
  120. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/src/plone/autoinclude/tests/__init__.py +0 -0
  121. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/src/plone/autoinclude/tests/utils.py +0 -0
  122. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/src/plone/autoinclude/zcml.py +0 -0
  123. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/src/plone.autoinclude.egg-info/dependency_links.txt +0 -0
  124. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/src/plone.autoinclude.egg-info/not-zip-safe +0 -0
  125. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/src/plone.autoinclude.egg-info/top_level.txt +0 -0
  126. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/ExampleCamelCase/MANIFEST.in +0 -0
  127. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/ExampleCamelCase/pyproject.toml +0 -0
  128. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/ExampleCamelCase/src/ExampleCamelCase/__init__.py +0 -0
  129. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/ExampleCamelCase/src/ExampleCamelCase/tests.py +0 -0
  130. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.addon/MANIFEST.in +0 -0
  131. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.addon/pyproject.toml +0 -0
  132. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.addon/src/example/addon/__init__.py +0 -0
  133. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.addon/src/example/addon/tests.py +0 -0
  134. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.basetestpackage/pyproject.toml +0 -0
  135. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.basetestpackage/src/example/basetestpackage/__init__.py +0 -0
  136. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.basetestpackage/src/example/basetestpackage/utils.py +0 -0
  137. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.different/MANIFEST.in +0 -0
  138. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.different/pyproject.toml +0 -0
  139. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.different/src/example/somethingelse/__init__.py +0 -0
  140. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.different/src/example/somethingelse/tests.py +0 -0
  141. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.different2/MANIFEST.in +0 -0
  142. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.different2/pyproject.toml +0 -0
  143. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.different2/src/example/somethingelse2/__init__.py +0 -0
  144. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.different2/src/example/somethingelse2/tests.py +0 -0
  145. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.metaoverrides/MANIFEST.in +0 -0
  146. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.metaoverrides/pyproject.toml +0 -0
  147. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.metaoverrides/src/example/metaoverrides/__init__.py +0 -0
  148. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.metaoverrides/src/example/metaoverrides/tests.py +0 -0
  149. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.multipleeps/MANIFEST.in +0 -0
  150. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.multipleeps/pyproject.toml +0 -0
  151. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.multipleeps/src/example/multipleeps/__init__.py +0 -0
  152. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.multipleeps/src/example/multipleeps/browser/__init__.py +0 -0
  153. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.multipleeps/src/example/multipleeps/tests.py +0 -0
  154. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.plone-dash-addon/MANIFEST.in +0 -0
  155. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.plone-dash-addon/pyproject.toml +0 -0
  156. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.plone-dash-addon/src/example/plone_dash_addon/__init__.py +0 -0
  157. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.plone-dash-addon/src/example/plone_dash_addon/browser/__init__.py +0 -0
  158. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.plone-dash-addon/src/example/plone_dash_addon/tests.py +0 -0
  159. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.ploneaddon/MANIFEST.in +0 -0
  160. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.ploneaddon/pyproject.toml +0 -0
  161. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.ploneaddon/src/example/ploneaddon/__init__.py +0 -0
  162. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.ploneaddon/src/example/ploneaddon/browser/__init__.py +0 -0
  163. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.ploneaddon/src/example/ploneaddon/tests.py +0 -0
  164. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.ploneintegration/MANIFEST.in +0 -0
  165. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.ploneintegration/pyproject.toml +0 -0
  166. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.ploneintegration/src/example/ploneintegration/__init__.py +0 -0
  167. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.zopeaddon/MANIFEST.in +0 -0
  168. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.zopeaddon/pyproject.toml +0 -0
  169. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.zopeaddon/src/example/zopeaddon/__init__.py +0 -0
  170. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.zopeaddon/src/example/zopeaddon/browser/__init__.py +0 -0
  171. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.zopeaddon/src/example/zopeaddon/tests.py +0 -0
  172. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.zopeintegration/MANIFEST.in +0 -0
  173. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.zopeintegration/pyproject.toml +0 -0
  174. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.zopeintegration/src/example/zopeintegration/__init__.py +0 -0
  175. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/example.zopeintegration/src/example/zopeintegration/tests.py +0 -0
  176. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/namespaceexample.native/MANIFEST.in +0 -0
  177. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/namespaceexample.native/pyproject.toml +0 -0
  178. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/namespaceexample.native/src/namespaceexample/native/__init__.py +0 -0
  179. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/namespaceexample.native/src/namespaceexample/native/browser/__init__.py +0 -0
  180. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/namespaceexample.native/src/namespaceexample/native/tests.py +0 -0
  181. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/namespaceexample.pkgutilns/MANIFEST.in +0 -0
  182. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/namespaceexample.pkgutilns/pyproject.toml +0 -0
  183. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/namespaceexample.pkgutilns/src/namespaceexample/__init__.py +0 -0
  184. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/namespaceexample.pkgutilns/src/namespaceexample/pkgutilns/__init__.py +0 -0
  185. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/namespaceexample.pkgutilns/src/namespaceexample/pkgutilns/browser/__init__.py +0 -0
  186. {plone_autoinclude-2.0.4 → plone_autoinclude-3.0.0}/test-packages/namespaceexample.pkgutilns/src/namespaceexample/pkgutilns/tests.py +0 -0
@@ -9,6 +9,55 @@ Changelog
9
9
 
10
10
  .. towncrier release notes start
11
11
 
12
+ 3.0.0 (2026-05-16)
13
+ ------------------
14
+
15
+ Internal:
16
+
17
+
18
+ - Make final release, no further changes.
19
+
20
+
21
+ 3.0.0a2 (2026-02-23)
22
+ --------------------
23
+
24
+ Internal:
25
+
26
+
27
+ - Update configuration files.
28
+ [plone devs]
29
+
30
+
31
+ Tests:
32
+
33
+
34
+ - Fix tests now that ``setuptools`` 82 is out.
35
+ Change most test packages to use native namespaces.
36
+ Still test with one with `pkg_resources` (with `setuptools<82` as `build-system`) and one with `pkgutil` style namespaces.
37
+ [mauritsvanrees]
38
+
39
+
40
+ 3.0.0a1 (2025-11-26)
41
+ --------------------
42
+
43
+ Breaking changes:
44
+
45
+
46
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
47
+ Support only Plone 6.2 and Python 3.10+. (#3928)
48
+
49
+
50
+ 2.0.5 (2025-10-02)
51
+ ------------------
52
+
53
+ Tests:
54
+
55
+
56
+ - Fix tests with buildout 4, and add tests with buildout 5.
57
+ This is needed because we get more namespace packages.
58
+ [maurits]
59
+
60
+
12
61
  2.0.4 (2025-09-10)
13
62
  ------------------
14
63
 
@@ -113,7 +162,7 @@ New features:
113
162
  Bug fixes:
114
163
 
115
164
 
116
- - Replace dash with lowdash in project_name, as Python Project are normally divided by dash and modul name uses lowdash [MrTango] (#16)
165
+ - Replace dash with lowdash in project_name, as Python Project are normally divided by dash and module name uses lowdash [MrTango] (#16)
117
166
 
118
167
 
119
168
  1.0.0a3 (2021-12-03)
@@ -3,6 +3,7 @@
3
3
  include *.rst
4
4
  include *.txt
5
5
  include buildout.cfg
6
+ include buildout5.cfg
6
7
  include LICENSE.GPL
7
8
  include tox.ini
8
9
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plone.autoinclude
3
- Version: 2.0.4
3
+ Version: 3.0.0
4
4
  Summary: Auto include code and zcml
5
5
  Home-page: https://github.com/collective/plone.autoinclude
6
6
  Author: Maurits van Rees
@@ -12,25 +12,21 @@ Project-URL: Tracker, https://github.com/plone/plone.autoinclude/issues
12
12
  Keywords: Python Plone CMS
13
13
  Classifier: Development Status :: 5 - Production/Stable
14
14
  Classifier: Environment :: Web Environment
15
- Classifier: Framework :: Plone :: 6.0
16
- Classifier: Framework :: Plone :: 6.1
17
15
  Classifier: Framework :: Plone :: 6.2
18
16
  Classifier: Framework :: Plone :: Core
19
17
  Classifier: Framework :: Plone
20
18
  Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
21
19
  Classifier: Operating System :: OS Independent
22
- Classifier: Programming Language :: Python :: 3.9
23
20
  Classifier: Programming Language :: Python :: 3.10
24
21
  Classifier: Programming Language :: Python :: 3.11
25
22
  Classifier: Programming Language :: Python :: 3.12
26
23
  Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
27
25
  Classifier: Programming Language :: Python :: Implementation :: CPython
28
26
  Classifier: Programming Language :: Python
29
- Requires-Python: >=3.9
27
+ Requires-Python: >=3.10
30
28
  License-File: LICENSE.GPL
31
29
  License-File: LICENSE.rst
32
- Requires-Dist: importlib-metadata; python_version < "3.10"
33
- Requires-Dist: setuptools
34
30
  Requires-Dist: zope.configuration
35
31
  Dynamic: author
36
32
  Dynamic: author-email
@@ -253,6 +249,55 @@ Changelog
253
249
 
254
250
  .. towncrier release notes start
255
251
 
252
+ 3.0.0 (2026-05-16)
253
+ ------------------
254
+
255
+ Internal:
256
+
257
+
258
+ - Make final release, no further changes.
259
+
260
+
261
+ 3.0.0a2 (2026-02-23)
262
+ --------------------
263
+
264
+ Internal:
265
+
266
+
267
+ - Update configuration files.
268
+ [plone devs]
269
+
270
+
271
+ Tests:
272
+
273
+
274
+ - Fix tests now that ``setuptools`` 82 is out.
275
+ Change most test packages to use native namespaces.
276
+ Still test with one with `pkg_resources` (with `setuptools<82` as `build-system`) and one with `pkgutil` style namespaces.
277
+ [mauritsvanrees]
278
+
279
+
280
+ 3.0.0a1 (2025-11-26)
281
+ --------------------
282
+
283
+ Breaking changes:
284
+
285
+
286
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
287
+ Support only Plone 6.2 and Python 3.10+. (#3928)
288
+
289
+
290
+ 2.0.5 (2025-10-02)
291
+ ------------------
292
+
293
+ Tests:
294
+
295
+
296
+ - Fix tests with buildout 4, and add tests with buildout 5.
297
+ This is needed because we get more namespace packages.
298
+ [maurits]
299
+
300
+
256
301
  2.0.4 (2025-09-10)
257
302
  ------------------
258
303
 
@@ -357,7 +402,7 @@ New features:
357
402
  Bug fixes:
358
403
 
359
404
 
360
- - Replace dash with lowdash in project_name, as Python Project are normally divided by dash and modul name uses lowdash [MrTango] (#16)
405
+ - Replace dash with lowdash in project_name, as Python Project are normally divided by dash and module name uses lowdash [MrTango] (#16)
361
406
 
362
407
 
363
408
  1.0.0a3 (2021-12-03)
@@ -15,18 +15,12 @@ develop =
15
15
  ../../test-packages/example.multipleeps
16
16
  ../../test-packages/ExampleCamelCase
17
17
  ../../test-packages/namespaceexample.native
18
+ ../../test-packages/namespaceexample2.pkgresources
18
19
  ../../test-packages/namespaceexample.pkgutilns
19
20
  parts =
20
21
  test-unit
21
22
  test-integration
22
23
 
23
- [test-unit]
24
- # Run the plone.autoinclude tests.
25
- # This is the part that would also be run on Jenkins when we include this in coredev.
26
- recipe = zc.recipe.testrunner
27
- eggs =
28
- plone.autoinclude
29
-
30
24
  [test-integration]
31
25
  # Run the tests of the test-packages.
32
26
  # This would be practically impossible to run on Jenkins.
@@ -45,4 +39,19 @@ eggs =
45
39
  example.multipleeps
46
40
  ExampleCamelCase
47
41
  namespaceexample.native
42
+ namespaceexample2.pkgresources
48
43
  namespaceexample.pkgutilns
44
+
45
+ [test-unit]
46
+ <= test-integration
47
+ # Run the plone.autoinclude tests.
48
+ # This is the part that would also be run on Jenkins when we include this in coredev.
49
+ recipe = zc.recipe.testrunner
50
+ eggs +=
51
+ plone.autoinclude
52
+ defaults = ['--exit-with-status', '--auto-color', '--auto-progress', '-s', 'plone.autoinclude']
53
+
54
+
55
+ [versions]
56
+ zc.recipe.testrunner = 3.2
57
+ zc.recipe.egg = 3.0.0
@@ -0,0 +1,6 @@
1
+ [buildout]
2
+ extends = buildout.cfg
3
+
4
+ [versions]
5
+ zc.recipe.testrunner = 4.0
6
+ zc.recipe.egg = 4.0.0
@@ -0,0 +1,10 @@
1
+ <configure xmlns="http://namespaces.zope.org/zope">
2
+ <include
3
+ package="Products.CMFPlone"
4
+ file="configure.zcml"
5
+ />
6
+ <autoIncludePlugins
7
+ file="configure.zcml"
8
+ target="plone"
9
+ />
10
+ </configure>
@@ -1,13 +1,24 @@
1
- <configure xmlns="http://namespaces.zope.org/zope"
2
- xmlns:meta="http://namespaces.zope.org/meta">
1
+ <configure
2
+ xmlns="http://namespaces.zope.org/zope"
3
+ xmlns:meta="http://namespaces.zope.org/meta"
4
+ >
3
5
  <!-- With the plone*.zcml files, it is easier to use this package
4
6
  in a Plone version which does not use plone.autoinclude yet. -->
5
7
  <!-- 1. Disable the original z3c.autoinclude. -->
6
8
  <meta:provides feature="disable-autoinclude" />
7
9
  <!-- 2. Load CMFPlone meta, so the order in which zcml is loaded stays mostly the same. -->
8
- <include package="Products.CMFPlone" file="meta.zcml" />
10
+ <include
11
+ package="Products.CMFPlone"
12
+ file="meta.zcml"
13
+ />
9
14
  <!-- 3. Load plone.autoinclude meta, so autoIncludePlugins is defined. -->
10
- <include package="plone.autoinclude" file="meta.zcml" />
15
+ <include
16
+ package="plone.autoinclude"
17
+ file="meta.zcml"
18
+ />
11
19
  <!-- 4. Automatically include the meta.zcml of all plone plugins. -->
12
- <autoIncludePlugins target="plone" file="meta.zcml" />
20
+ <autoIncludePlugins
21
+ file="meta.zcml"
22
+ target="plone"
23
+ />
13
24
  </configure>
@@ -0,0 +1,10 @@
1
+ <configure xmlns="http://namespaces.zope.org/zope">
2
+ <includeOverrides
3
+ package="Products.CMFPlone"
4
+ file="overrides.zcml"
5
+ />
6
+ <autoIncludePluginsOverrides
7
+ file="overrides.zcml"
8
+ target="plone"
9
+ />
10
+ </configure>
@@ -0,0 +1,167 @@
1
+ # Generated from:
2
+ # https://github.com/plone/meta/tree/main/src/plone/meta/default
3
+ # See the inline comments on how to expand/tweak this configuration file
4
+ [build-system]
5
+ requires = ["setuptools>=68.2,<80", "wheel"]
6
+
7
+ [tool.towncrier]
8
+ directory = "news/"
9
+ filename = "CHANGES.rst"
10
+ title_format = "{version} ({project_date})"
11
+ underlines = ["-", ""]
12
+
13
+ [[tool.towncrier.type]]
14
+ directory = "breaking"
15
+ name = "Breaking changes:"
16
+ showcontent = true
17
+
18
+ [[tool.towncrier.type]]
19
+ directory = "feature"
20
+ name = "New features:"
21
+ showcontent = true
22
+
23
+ [[tool.towncrier.type]]
24
+ directory = "bugfix"
25
+ name = "Bug fixes:"
26
+ showcontent = true
27
+
28
+ [[tool.towncrier.type]]
29
+ directory = "internal"
30
+ name = "Internal:"
31
+ showcontent = true
32
+
33
+ [[tool.towncrier.type]]
34
+ directory = "documentation"
35
+ name = "Documentation:"
36
+ showcontent = true
37
+
38
+ [[tool.towncrier.type]]
39
+ directory = "tests"
40
+ name = "Tests:"
41
+ showcontent = true
42
+
43
+ ##
44
+ # Add extra configuration options in .meta.toml:
45
+ # [pyproject]
46
+ # towncrier_extra_lines = """
47
+ # extra_configuration
48
+ # """
49
+ ##
50
+
51
+ [tool.isort]
52
+ profile = "plone"
53
+
54
+ ##
55
+ # Add extra configuration options in .meta.toml:
56
+ # [pyproject]
57
+ # isort_extra_lines = """
58
+ # extra_configuration
59
+ # """
60
+ ##
61
+
62
+ [tool.black]
63
+ target-version = ["py38"]
64
+
65
+ ##
66
+ # Add extra configuration options in .meta.toml:
67
+ # [pyproject]
68
+ # black_extra_lines = """
69
+ # extra_configuration
70
+ # """
71
+ ##
72
+
73
+ [tool.codespell]
74
+ ignore-words-list = "discreet,assertin,thet,"
75
+ skip = "*.po,"
76
+ ##
77
+ # Add extra configuration options in .meta.toml:
78
+ # [pyproject]
79
+ # codespell_ignores = "foo,bar"
80
+ # codespell_skip = "*.po,*.map,package-lock.json"
81
+ ##
82
+
83
+ [tool.dependencychecker]
84
+ Zope = [
85
+ # Zope own provided namespaces
86
+ 'App', 'OFS', 'Products.Five', 'Products.OFSP', 'Products.PageTemplates',
87
+ 'Products.SiteAccess', 'Shared', 'Testing', 'ZPublisher', 'ZTUtils',
88
+ 'Zope2', 'webdav', 'zmi',
89
+ # ExtensionClass own provided namespaces
90
+ 'ExtensionClass', 'ComputedAttribute', 'MethodObject',
91
+ # Zope dependencies
92
+ 'AccessControl', 'Acquisition', 'AuthEncoding', 'beautifulsoup4', 'BTrees',
93
+ 'cffi', 'Chameleon', 'DateTime', 'DocumentTemplate',
94
+ 'MultiMapping', 'multipart', 'PasteDeploy', 'Persistence', 'persistent',
95
+ 'pycparser', 'python-gettext', 'pytz', 'RestrictedPython', 'roman',
96
+ 'soupsieve', 'transaction', 'waitress', 'WebOb', 'WebTest', 'WSGIProxy2',
97
+ 'z3c.pt', 'zc.lockfile', 'ZConfig', 'zExceptions', 'ZODB', 'zodbpickle',
98
+ 'zope.annotation', 'zope.browser', 'zope.browsermenu', 'zope.browserpage',
99
+ 'zope.browserresource', 'zope.cachedescriptors', 'zope.component',
100
+ 'zope.configuration', 'zope.container', 'zope.contentprovider',
101
+ 'zope.contenttype', 'zope.datetime', 'zope.deferredimport',
102
+ 'zope.deprecation', 'zope.dottedname', 'zope.event', 'zope.exceptions',
103
+ 'zope.filerepresentation', 'zope.globalrequest', 'zope.hookable',
104
+ 'zope.i18n', 'zope.i18nmessageid', 'zope.interface', 'zope.lifecycleevent',
105
+ 'zope.location', 'zope.pagetemplate', 'zope.processlifetime', 'zope.proxy',
106
+ 'zope.ptresource', 'zope.publisher', 'zope.schema', 'zope.security',
107
+ 'zope.sequencesort', 'zope.site', 'zope.size', 'zope.structuredtext',
108
+ 'zope.tal', 'zope.tales', 'zope.testbrowser', 'zope.testing',
109
+ 'zope.traversing', 'zope.viewlet'
110
+ ]
111
+ 'Products.CMFCore' = [
112
+ 'docutils', 'five.localsitemanager', 'Missing', 'Products.BTreeFolder2',
113
+ 'Products.GenericSetup', 'Products.MailHost', 'Products.PythonScripts',
114
+ 'Products.StandardCacheManagers', 'Products.ZCatalog', 'Record',
115
+ 'zope.sendmail', 'Zope'
116
+ ]
117
+ 'plone.base' = [
118
+ 'plone.batching', 'plone.registry', 'plone.schema','plone.z3cform',
119
+ 'Products.CMFCore', 'Products.CMFDynamicViewFTI',
120
+ ]
121
+ python-dateutil = ['dateutil']
122
+ pytest-plone = ['pytest', 'zope.pytestlayer', 'plone.testing', 'plone.app.testing']
123
+
124
+ ##
125
+ # Add extra configuration options in .meta.toml:
126
+ # [pyproject]
127
+ # dependencies_ignores = "['zestreleaser.towncrier']"
128
+ # dependencies_mappings = [
129
+ # "gitpython = ['git']",
130
+ # "pygithub = ['github']",
131
+ # ]
132
+ ##
133
+
134
+ [tool.check-manifest]
135
+ ignore = [
136
+ ".editorconfig",
137
+ ".flake8",
138
+ ".meta.toml",
139
+ ".pre-commit-config.yaml",
140
+ "dependabot.yml",
141
+ "mx.ini",
142
+ "tox.ini",
143
+
144
+ ]
145
+
146
+ ##
147
+ # Add extra configuration options in .meta.toml:
148
+ # [pyproject]
149
+ # check_manifest_ignores = """
150
+ # "*.map.js",
151
+ # "*.pyc",
152
+ # """
153
+ # check_manifest_extra_lines = """
154
+ # ignore-bad-ideas = [
155
+ # "some/test/file/PKG-INFO",
156
+ # ]
157
+ # """
158
+ ##
159
+
160
+
161
+ ##
162
+ # Add extra configuration options in .meta.toml:
163
+ # [pyproject]
164
+ # extra_lines = """
165
+ # _your own configuration lines_
166
+ # """
167
+ ##
@@ -0,0 +1,13 @@
1
+ [metadata]
2
+ long_description = file: README.rst, CHANGES.rst
3
+
4
+ [isort]
5
+ profile = black
6
+ force_alphabetical_sort = True
7
+ force_single_line = True
8
+ lines_after_imports = 2
9
+
10
+ [egg_info]
11
+ tag_build =
12
+ tag_date = 0
13
+
@@ -1,31 +1,27 @@
1
- # -*- coding: utf-8 -*-
2
1
  """Installer for the plone.autoinclude package."""
3
2
 
4
- from setuptools import find_packages
5
3
  from setuptools import setup
6
4
 
7
5
 
8
6
  setup(
9
7
  name="plone.autoinclude",
10
- version="2.0.4",
8
+ version="3.0.0",
11
9
  description="Auto include code and zcml",
12
10
  # long_description: see metadata in setup.cfg
13
11
  # Get more from https://pypi.org/classifiers/
14
12
  classifiers=[
15
13
  "Development Status :: 5 - Production/Stable",
16
14
  "Environment :: Web Environment",
17
- "Framework :: Plone :: 6.0",
18
- "Framework :: Plone :: 6.1",
19
15
  "Framework :: Plone :: 6.2",
20
16
  "Framework :: Plone :: Core",
21
17
  "Framework :: Plone",
22
18
  "License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
23
19
  "Operating System :: OS Independent",
24
- "Programming Language :: Python :: 3.9",
25
20
  "Programming Language :: Python :: 3.10",
26
21
  "Programming Language :: Python :: 3.11",
27
22
  "Programming Language :: Python :: 3.12",
28
23
  "Programming Language :: Python :: 3.13",
24
+ "Programming Language :: Python :: 3.14",
29
25
  "Programming Language :: Python :: Implementation :: CPython",
30
26
  "Programming Language :: Python",
31
27
  ],
@@ -39,15 +35,10 @@ setup(
39
35
  "Tracker": "https://github.com/plone/plone.autoinclude/issues",
40
36
  },
41
37
  license="GPL version 2",
42
- packages=find_packages("src", exclude=["ez_setup"]),
43
- namespace_packages=["plone"],
44
- package_dir={"": "src"},
45
38
  include_package_data=True,
46
39
  zip_safe=False,
47
- python_requires=">=3.9",
40
+ python_requires=">=3.10",
48
41
  install_requires=[
49
- "importlib-metadata; python_version<'3.10'",
50
- "setuptools",
51
42
  "zope.configuration",
52
43
  ],
53
44
  )
@@ -1,18 +1,19 @@
1
1
  <configure
2
2
  xmlns="http://namespaces.zope.org/zope"
3
- xmlns:meta="http://namespaces.zope.org/meta">
3
+ xmlns:meta="http://namespaces.zope.org/meta"
4
+ >
4
5
 
5
6
  <meta:directives namespace="http://namespaces.zope.org/zope">
6
7
 
7
8
  <meta:directive
8
9
  name="autoIncludePlugins"
9
- schema=".zcml.IIncludePluginsDirective"
10
10
  handler=".zcml.includePluginsDirective"
11
+ schema=".zcml.IIncludePluginsDirective"
11
12
  />
12
13
  <meta:directive
13
14
  name="autoIncludePluginsOverrides"
14
- schema=".zcml.IIncludePluginsDirective"
15
15
  handler=".zcml.includePluginsOverridesDirective"
16
+ schema=".zcml.IIncludePluginsDirective"
16
17
  />
17
18
 
18
19
  </meta:directives>
@@ -0,0 +1,10 @@
1
+ <configure xmlns="http://namespaces.zope.org/zope">
2
+ <include
3
+ package="Products.CMFPlone"
4
+ file="configure.zcml"
5
+ />
6
+ <autoIncludePlugins
7
+ file="configure.zcml"
8
+ target="plone"
9
+ />
10
+ </configure>
@@ -1,13 +1,24 @@
1
- <configure xmlns="http://namespaces.zope.org/zope"
2
- xmlns:meta="http://namespaces.zope.org/meta">
1
+ <configure
2
+ xmlns="http://namespaces.zope.org/zope"
3
+ xmlns:meta="http://namespaces.zope.org/meta"
4
+ >
3
5
  <!-- With the plone*.zcml files, it is easier to use this package
4
6
  in a Plone version which does not use plone.autoinclude yet. -->
5
7
  <!-- 1. Disable the original z3c.autoinclude. -->
6
8
  <meta:provides feature="disable-autoinclude" />
7
9
  <!-- 2. Load CMFPlone meta, so the order in which zcml is loaded stays mostly the same. -->
8
- <include package="Products.CMFPlone" file="meta.zcml" />
10
+ <include
11
+ package="Products.CMFPlone"
12
+ file="meta.zcml"
13
+ />
9
14
  <!-- 3. Load plone.autoinclude meta, so autoIncludePlugins is defined. -->
10
- <include package="plone.autoinclude" file="meta.zcml" />
15
+ <include
16
+ package="plone.autoinclude"
17
+ file="meta.zcml"
18
+ />
11
19
  <!-- 4. Automatically include the meta.zcml of all plone plugins. -->
12
- <autoIncludePlugins target="plone" file="meta.zcml" />
20
+ <autoIncludePlugins
21
+ file="meta.zcml"
22
+ target="plone"
23
+ />
13
24
  </configure>
@@ -0,0 +1,10 @@
1
+ <configure xmlns="http://namespaces.zope.org/zope">
2
+ <includeOverrides
3
+ package="Products.CMFPlone"
4
+ file="overrides.zcml"
5
+ />
6
+ <autoIncludePluginsOverrides
7
+ file="overrides.zcml"
8
+ target="plone"
9
+ />
10
+ </configure>
@@ -1,10 +1,6 @@
1
1
  from .utils import get_configuration_context
2
- from copy import copy
3
- from setuptools.command.egg_info import egg_info
4
2
 
5
- import distutils.core
6
3
  import os
7
- import sys
8
4
  import unittest
9
5
 
10
6
 
@@ -17,7 +13,6 @@ while test_dir not in os.listdir(directory):
17
13
  # reached root folder
18
14
  raise ValueError(f"Directory {test_dir} not found.") # pragma: no cover
19
15
  directory = parent
20
- PROJECTS_DIR = os.path.realpath(os.path.join(directory, test_dir))
21
16
 
22
17
 
23
18
  class TestLoader(unittest.TestCase):
@@ -28,33 +23,12 @@ class TestLoader(unittest.TestCase):
28
23
  self._orig_ALLOW_MODULE_NOT_FOUND_ALL = loader.ALLOW_MODULE_NOT_FOUND_ALL
29
24
  loader.ALLOW_MODULE_NOT_FOUND_ALL = True
30
25
 
31
- self.workingdir = os.getcwd()
32
- self.stored_syspath = copy(sys.path)
33
- test_packages = os.listdir(PROJECTS_DIR)
34
- for package in test_packages:
35
- packagedir = os.path.join(PROJECTS_DIR, package)
36
- os.chdir(packagedir)
37
- dist = distutils.core.run_setup("setup.py")
38
- ei = egg_info(dist)
39
- ei.finalize_options()
40
- try:
41
- os.mkdir(ei.egg_info)
42
- except FileExistsError:
43
- pass
44
- ei.run()
45
- egginfodir = os.path.join(packagedir, "src")
46
- sys.path.append(egginfodir)
47
- os.chdir(self.workingdir)
48
-
49
26
  def tearDown(self):
50
27
  from plone.autoinclude import loader
51
28
 
52
29
  # Restore original setting.
53
30
  loader.ALLOW_MODULE_NOT_FOUND_ALL = self._orig_ALLOW_MODULE_NOT_FOUND_ALL
54
31
 
55
- os.chdir(self.workingdir)
56
- sys.path = self.stored_syspath
57
-
58
32
  def test_load_z3c_packages(self):
59
33
  from plone.autoinclude.loader import load_z3c_packages
60
34