summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorMatt Riedemann <mriedem@us.ibm.com>2015-08-26 11:47:48 -0700
committerMatt Riedemann <mriedem@us.ibm.com>2015-08-26 12:06:29 -0700
commit30cb7372565e505e262b4f6b83f75ecf1f8a7f81 (patch)
tree1251807068c94f8fafe736b5680a5f646f3f0f9c /setup.cfg
parent15e905093e42c890876cd766dbc758c8e0817327 (diff)
downloadoslo-db-30cb7372565e505e262b4f6b83f75ecf1f8a7f81.tar.gz
Move runtime test resources into setup.cfg [extras]
testscenarios and testresources are only needed if you're using the oslo.db testing fixtures downstream, otherwise you don't need this at runtime in a deployment, so move them into the setup.cfg [extras] group. If a consumer of oslo.db wants to use the db test fixtures then they install oslo.db like 'sudo pip install oslo.db[fixtures]'. This should trigger a major version bump for the library when it lands. Closes-Bug: #1429233 Change-Id: I1a7c5b6a7b29cd3a50655f60606cc0b025400a96
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index a87da66..abb016b 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -54,6 +54,11 @@ keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = oslo.db/locale/oslo.db.pot
+[extras]
+fixtures =
+ testresources>=0.2.4
+ testscenarios>=0.4
+
[pbr]
# NOTE(viktors): uncomment ``warnerrors`` line, when setup.cfg we then
# want to treat sphinx warnings as errors