https://github.com/astrofrog/pytest-build
Experimental!
https://github.com/astrofrog/pytest-build
Last synced: 26 days ago
JSON representation
Experimental!
- Host: GitHub
- URL: https://github.com/astrofrog/pytest-build
- Owner: astrofrog
- License: other
- Created: 2019-03-08T08:52:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-08T10:12:51.000Z (over 7 years ago)
- Last Synced: 2026-05-24T07:42:28.485Z (about 2 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE
Awesome Lists containing this project
README
About
-----
This is a simple plugin that runs::
python setup.py build_ext --inplace
In the current directory before running the tests, which means that you can
then run pytest seamlessly on packages with compiled extensions.
To use this, run pytest with::
pytest --build-inplace
or add::
[tool:pytest]
addopts = --build-inplace
to your ``setup.cfg`` file for the option to always be added automatically.
Note that if you have entry points in your package that need to be installed
for the tests to run, you will still need to make sure ``pip install -e .``
has been run for your package.