summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-03-12 06:50:12 -0400
committerJason R. Coombs <jaraco@jaraco.com>2017-03-13 11:44:43 -0400
commitdfade1e7226f9a415f96c643ffaf61bd694980dc (patch)
tree9c3a304728714ec38f4a5f557719851210ee66c1 /setup.py
parent9b7707e86881786cd7f6aba2f49f0dc8ae60f510 (diff)
downloadcherrypy-git-dfade1e7226f9a415f96c643ffaf61bd694980dc.tar.gz
Pin graphviz only in testing reqs.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index e9d8de4d..4e13741b 100644
--- a/setup.py
+++ b/setup.py
@@ -79,7 +79,13 @@ extras_require = {
# TODO: drop nose dependency in favor of py.test analogue
'nose', # only used in cherrypy.test.{helper,test_{compat,routes}}
'nose-testconfig', # only used in cherrypy.test.helper
- 'objgraph', # cherrypy.lib.gctools
+
+ # cherrypy.lib.gctools
+ 'objgraph',
+ # graphviz, required by objgraph, dropped support for Python 2.6
+ # in 0.6
+ 'graphviz<0.6; python_version == "2.6"',
+
'pytest',
'backports.unittest_mock',
],
@@ -89,8 +95,6 @@ extras_require = {
# http://docs.cherrypy.org/en/latest/advanced.html?highlight=windows#windows-console-events
':sys_platform == "win32"': ['pypiwin32'],
-
- ':python_version == "2.6"': ['graphviz<0.6'], # v0.6 has dropped support for 2.6
}
"""Feature flags end-users can use in dependencies"""