ERROR _ffi_build.py - FileNotFoundError: [Errno 2] No such file or directory:... #12779
Unanswered
MLopez-Ibanez
asked this question in
Q&A
Replies: 2 comments 3 replies
-
The code is here https://github.com/multi-objective/moocore/tree/main/python |
Beta Was this translation helpful? Give feedback.
3 replies
-
This works:
but it doesn't look very pretty and it would be a pain to list all files that have doctests (and the documentation has no examples that look like this). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a
src
layout:I would like to run "--doctests-modules" when building wheels, so I have in
pyproject.toml
The first test works, however the doctest fails with:
I don't understand why
pytest
is not testing against the installed package, which should be compiled and not requirelibmocoore.h
. I have searched everywhere and I cannot see how to fix this without using 'tox'. Intox.ini
, I can do:but the above doesn't work in
pyproject.toml
for testing wheels.Beta Was this translation helpful? Give feedback.
All reactions