Skip to content

Commit

Permalink
Removed tests extra, kept only test extra and storage.
Browse files Browse the repository at this point in the history
Swapped packages slightly between those two extras.

For ``storage`` we depend on ``persistent`` and ``ZODB``.
  • Loading branch information
mauritsvanrees committed Feb 2, 2022
1 parent 05a088b commit be00eb4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
4 changes: 4 additions & 0 deletions news/44.breaking.4
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Removed ``tests`` extra, kept only ``test`` extra and ``storage``.
Swapped packages slightly between those two extras.
For ``storage`` we depend on ``persistent`` and ``ZODB``.
[maurits]
15 changes: 9 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,18 @@
changes = open("CHANGES.rst").read()

STORAGE_REQUIREMENTS = [
"ZODB",
"zope.annotation",
"zope.component",
"zope.configuration",
"zope.interface",
"Persistence",
"persistent",
]

TESTS_REQUIREMENTS = ["plone.testing"]
# "zope.configuration",
TEST_REQUIREMENTS = [
"zope.component",
"zope.configuration",
"plone.testing",
]

setup(
name="plone.scale",
Expand Down Expand Up @@ -54,8 +58,7 @@
"setuptools",
],
extras_require=dict(
test=TESTS_REQUIREMENTS,
storage=STORAGE_REQUIREMENTS,
tests=STORAGE_REQUIREMENTS + TESTS_REQUIREMENTS,
test=STORAGE_REQUIREMENTS + TEST_REQUIREMENTS,
),
)

0 comments on commit be00eb4

Please sign in to comment.