Two commits to improve dependency list, tox and Makefile
1) Allow to pass posargs to tox from make
2) Specify dependent packages in one place
setup.py is the place to inject dependent packages, both install or
tests. All the packages are read from pip requirements files pypi.txt
and test-pypi.txt, then modified and packages specific for Python 2.6 are
added in setup.py.
tox.ini is updated accordingly as well. Major changes are:
some deeper dependent packages, which have dropped Python 2.6 support,
are listed for py26 specificially.
instead of enabling tox config usedevelop, install dependent packages
listed in setup.py by pip -e option.
run tests by setup.py nosetests which can install packages listed in tests_require.
As a result, dependent packages for all supported Python versions should
be added to pypi.txt, which will be in install_requires eventually.
Any packages specific to Python 2.6 or not should be listed in setup.py
explicitly.
Two commits to improve dependency list, tox and Makefile
1) Allow to pass posargs to tox from make
2) Specify dependent packages in one place
setup.py is the place to inject dependent packages, both install or
tests. All the packages are read from pip requirements files pypi.txt
and test-pypi.txt, then modified and packages specific for Python 2.6 are
added in setup.py.
tox.ini is updated accordingly as well. Major changes are:
are listed for py26 specificially.
listed in setup.py by pip
-eoption.setup.py nosetestswhich can install packages listed intests_require.As a result, dependent packages for all supported Python versions should
be added to pypi.txt, which will be in
install_requireseventually.Any packages specific to Python 2.6 or not should be listed in setup.py
explicitly.
Signed-off-by: Chenxiong Qi cqi@redhat.com