Use setuptools extras for graphing requirements

This commit switches the packages only required to generate graphs,
mainly pandas and matplotlib, to be marked as extra requirements using
setuptools extras. These requirements aren't needed for subunit2sql
unless you want to generate graphs and they are fairly involved to
install with many external dependencies.

Change-Id: Iefc0bbed60ad8a42a2568060ce109072e3e4c920
This commit is contained in:
Matthew Treinish 2015-05-19 12:04:43 -04:00
parent ef9b60dd6f
commit 62e484dc68
No known key found for this signature in database
GPG Key ID: FD12A0F214C9E177
3 changed files with 6 additions and 11 deletions

View File

@ -90,15 +90,6 @@ file or the DB connection info. Running this command will print to stdout the
subunit v2 stream for the run specified by $RUN_ID, unless the --out_path
argument is specified to write it to a file instead.
Installation Notes
==================
To use the subunit2sql-graph command you need to install matplotlib, the graph
generation will not work without it installed. However it's not included in the
requirements file as a temporary measure to avoid some additional C dependencies
in CI. This will be corrected in a future bug fix release, but for the time
being this is a constraint.
Release Notes
=============

View File

@ -1,8 +1,7 @@
alembic>=0.4.1
oslo.config>=1.4.0.0a3
oslo.db
pbr>=0.6,<1.0
pbr>=1.0.0
python-subunit>=0.0.18
six>=1.5.2
SQLAlchemy>=0.7.8
pandas

View File

@ -43,3 +43,8 @@ upload-dir = doc/build/html
[wheel]
universal = 1
[extras]
graph =
pandas
matplotlib