tox support
initial tox support addresses: https://github.com/vmware/pyvmomi/issues/131 closes: https://github.com/vmware/pyvmomi/issues/136
This commit is contained in:
parent
834692417a
commit
d1f371b0a5
|
@ -1,5 +1,6 @@
|
|||
include README.*
|
||||
include *.txt
|
||||
include setup.py
|
||||
include tox.ini
|
||||
recursive-include tests *
|
||||
recursive-include sample *
|
||||
|
|
|
@ -30,6 +30,14 @@ posted to `pypi <https://pypi.python.org/pypi/pyvmomi/>`_
|
|||
``python setup.py develop`` for development install or
|
||||
``python setup.py install``.
|
||||
|
||||
Testing
|
||||
=======
|
||||
Unit tests can be invoked by using the ``tox`` command. You may have to
|
||||
configure multiple python interpreters so that you can test in all the
|
||||
environments listed in ``tox.ini`` or you will have to run ``tox`` with the
|
||||
``-e`` flag to run only in your version of python. For example, if you only
|
||||
have Python 2.7 then ``tox -e py27`` will limit your test run to Python 2.7.
|
||||
|
||||
Contributing
|
||||
============
|
||||
* Research `open issues <https://github.com/vmware/pyvmomi/issues?q=is%3Aopen+is%3Aissue>`_
|
||||
|
|
2
setup.py
2
setup.py
|
@ -37,7 +37,7 @@ setup(
|
|||
install_requires=required,
|
||||
license='License :: OSI Approved :: Apache Software License',
|
||||
data_files = [("", ["LICENSE.txt", "NOTICE.txt", "MANIFEST.in",
|
||||
"setup.py"])],
|
||||
"setup.py", "tox.ini"])],
|
||||
# NOTE: pypi prefers the use of RST to render docs
|
||||
long_description=read('README.rst'),
|
||||
classifiers=[
|
||||
|
|
|
@ -1,4 +1,2 @@
|
|||
contextdecorator
|
||||
PyYAML>=3.10
|
||||
testtools>=0.9.34
|
||||
vcrpy
|
||||
|
|
Loading…
Reference in New Issue