Skip to content

astrofrog/pytest-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 <other arguments>

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.

About

Experimental!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages