Update the README.rst with accurate requirements

We no longer have a 'optional-requirements.txt' file
so the README.rst should not mention it existing (since
it's not there anymore) so this updates that file with
valid requirements and where they are located (and includes
examples of optional requirements with links to there
project pages).

Change-Id: Idb5fa3db8fc55027993b737cf251bd5257ab87be
This commit is contained in:
Joshua Harlow
2015-01-10 15:40:30 -08:00
parent 316b453558
commit c07a96b3b8

View File

@@ -21,16 +21,19 @@ Testing and requirements
Requirements Requirements
~~~~~~~~~~~~ ~~~~~~~~~~~~
Because TaskFlow has many optional (pluggable) parts like persistence Because this project has many optional (pluggable) parts like persistence
backends and engines, we decided to split our requirements into two backends and engines, we decided to split our requirements into three
parts: - things that are absolutely required by TaskFlow (you can't use parts: - things that are absolutely required (you can't use the project
TaskFlow without them) are put into ``requirements-pyN.txt`` (``N`` being the without them) are put into ``requirements-pyN.txt`` (``N`` being the
Python *major* version number used to install the package); - things that are Python *major* version number used to install the package). The requirements
required by some optional part of TaskFlow (you can use TaskFlow without that are required by some optional part of this project (you can use the
them) are put into ``optional-requirements.txt``; if you want to use the project without them) are put into our ``tox.ini`` file (so that we can still
feature in question, you should add that requirements to your project or test the optional functionality works as expected). If you want to use the
environment; - as usual, things that required only for running tests are feature in question (`eventlet`_ or the worker based engine that
put into ``test-requirements.txt``. uses `kombu`_ or the `sqlalchemy`_ persistence backend or jobboards which
have an implementation built using `kazoo`_ ...), you should add
that requirement(s) to your project or environment; - as usual, things that
required only for running tests are put into ``test-requirements.txt``.
Tox.ini Tox.ini
~~~~~~~ ~~~~~~~
@@ -51,5 +54,9 @@ We also have sphinx documentation in ``docs/source``.
$ python setup.py build_sphinx $ python setup.py build_sphinx
.. _tox: http://testrun.org/tox/latest/ .. _kazoo: http://kazoo.readthedocs.org/
.. _sqlalchemy: http://www.sqlalchemy.org/
.. _kombu: http://kombu.readthedocs.org/
.. _eventlet: http://eventlet.net/
.. _tox: http://tox.testrun.org/
.. _developer documentation: http://docs.openstack.org/developer/taskflow/ .. _developer documentation: http://docs.openstack.org/developer/taskflow/