pytest-env-info
===============
.. image:: https://travis-ci.org/abadger/pytest-env-info.svg?branch=master
:target: https://travis-ci.org/abadger/pytest-env-info
Push information about the running pytest into the environment
Features
--------
* Injects information about the Python and Pytest versions that are running the unittests into the
environment. This can be used for configuring other pytest plugins for the Python version being run
on.
The following environment variables are set:
.. envvar:: PYTEST_VERSION
The version of the executing pytest
.. envvar:: PYTEST_PYVER
The version of the Python interpreter running pytest
.. envvar:: PYTEST_PYMAJVER
The major version of the Python interpreter. For instance, "2" on Python-2.7.14 and "3" for
Python-3.6.1.
.. envvar:: PYTEST_PYMAJMINVER
The major and minor version of the Python interpreter. For instance, "2.7" on Python-2.7.14 and
"3.6" for Python-3.6.1.
Requirements
------------
* Pytest
Installation
------------
You can install "pytest-env-info" via `pip`_ from `PyPI`_::
$ pip install pytest-env-info
Contributing
------------
Contributions are very welcome. Tests can be run with `tox`_, please ensure
the coverage at least stays the same before you submit a pull request.
License
-------
Distributed under the terms of the `MIT`_ license, "pytest-env-info" is free and open source software
Issues
------
If you encounter any problems, please `file an issue`_ along with a detailed description.
.. _`MIT`: http://opensource.org/licenses/MIT
.. _`file an issue`: https://github.com/abadger/pytest-env-info/issues
.. _`pytest`: https://github.com/pytest-dev/pytest
.. _`tox`: https://tox.readthedocs.io/en/latest/
.. _`pip`: https://pypi.python.org/pypi/pip/
.. _`PyPI`: https://pypi.python.org/pypi
===============
.. image:: https://travis-ci.org/abadger/pytest-env-info.svg?branch=master
:target: https://travis-ci.org/abadger/pytest-env-info
Push information about the running pytest into the environment
Features
--------
* Injects information about the Python and Pytest versions that are running the unittests into the
environment. This can be used for configuring other pytest plugins for the Python version being run
on.
The following environment variables are set:
.. envvar:: PYTEST_VERSION
The version of the executing pytest
.. envvar:: PYTEST_PYVER
The version of the Python interpreter running pytest
.. envvar:: PYTEST_PYMAJVER
The major version of the Python interpreter. For instance, "2" on Python-2.7.14 and "3" for
Python-3.6.1.
.. envvar:: PYTEST_PYMAJMINVER
The major and minor version of the Python interpreter. For instance, "2.7" on Python-2.7.14 and
"3.6" for Python-3.6.1.
Requirements
------------
* Pytest
Installation
------------
You can install "pytest-env-info" via `pip`_ from `PyPI`_::
$ pip install pytest-env-info
Contributing
------------
Contributions are very welcome. Tests can be run with `tox`_, please ensure
the coverage at least stays the same before you submit a pull request.
License
-------
Distributed under the terms of the `MIT`_ license, "pytest-env-info" is free and open source software
Issues
------
If you encounter any problems, please `file an issue`_ along with a detailed description.
.. _`MIT`: http://opensource.org/licenses/MIT
.. _`file an issue`: https://github.com/abadger/pytest-env-info/issues
.. _`pytest`: https://github.com/pytest-dev/pytest
.. _`tox`: https://tox.readthedocs.io/en/latest/
.. _`pip`: https://pypi.python.org/pypi/pip/
.. _`PyPI`: https://pypi.python.org/pypi
Metadata
Release files for pytest-env-info 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest-env-info-0.3.0.tar.gz | 13.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_env_info-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.2 kB
Release files / pytest-env-info-0.3.0.tar.gz
| Download URL | pytest-env-info-0.3.0.tar.gz |
|---|---|
| Size | 13.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31e32cb950658517efae6991bd6ce4cfc3ee9b2adcb6b9ae930f5593a692fb1a
|
|
BLAKE2b-256 checksum How to use checksums |
f3d9fd58bf0c565f5b0b60f8d85c7c9c41b0b49791bfc4db1b307583f8979b48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pytest_env_info-0.3.0-py3-none-any.whl
| Download URL | pytest_env_info-0.3.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4317ee9983219cbeb212caa6a6c83ff461411a0d58c28b0b6d3335c7f4eb0f42
|
|
BLAKE2b-256 checksum How to use checksums |
81e1d1e10d4e2c9cecd714e1572274c3f39104566045230a2727ad42c0479046
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |