dev-quickstart.rst update to add required packages

* added unspecifed required package "python-tox" for Ubuntu/Debian,
  and removed "py26" from "tox.ini" so that "tox" command doesn't
  invoke the tests in Python 2.6 environment.

Change-Id: I57df22a54fc08f2bb53a17d13b70706952815871
Closes-Bug: #1392304
This commit is contained in:
Naohiro Tamura 2014-11-13 22:38:33 +09:00
parent 8d931b83ef
commit 6e612260b7
2 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@ an OpenStack project.
Install prerequisites::
# Ubuntu/Debian:
sudo apt-get install python-dev libssl-dev python-pip libmysqlclient-dev libxml2-dev libxslt-dev libpq-dev git git-review libffi-dev gettext
sudo apt-get install python-dev libssl-dev python-pip libmysqlclient-dev libxml2-dev libxslt-dev libpq-dev git git-review libffi-dev gettext python-tox
# Fedora/RHEL:
sudo yum install python-devel openssl-devel python-pip mysql-devel libxml2-devel libxslt-devel postgresql-devel git git-review libffi-devel gettext
@ -56,8 +56,8 @@ All unit tests should be run using tox. To run Ironic's entire test suite::
To run a specific test, use a positional argument for the unit tests::
# run a specific test for both Python 2.6 and 2.7
tox -epy26,py27 -- test_conductor
# run a specific test for Python 2.7
tox -epy27 -- test_conductor
You may pass options to the test programs using positional arguments::

View File

@ -1,7 +1,7 @@
[tox]
minversion = 1.6
skipsdist = True
envlist = py26,py27,pep8
envlist = py27,pep8
[testenv]
usedevelop = True