-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editable install #114
Comments
Persistent build dir work step 1
This is the first error:
Build unpacks the SDist into a temporary directory since it's doing Source -> SDist -> Wheel. We could either try to fix this by patching the recorded paths, or we could detect this and wipe the build directory, or throw a nicer error. I think I'm in favor of wiping the build directory.
If we just directly go to wheel, then Python discovery breaks. This is because we are setting the initial cache value without forcing it, so it gets the old cached value. There are two solutions - either we add "FORCE" to our initial cache file (which is not really "supported", but works in all CMake versions), or we rewrite the cache with the updated values. I'm probably going to start with the former since it's much easier to implement - @thewtex, @jcfr thoughts? Specifically, we are doing Adding the |
Thanks for the detailed analysis🙏 I should be able to review in the next days 🚀 |
Maybe should edit this issue to track what are the missing parts. I will copy the suggestion from
|
Hacky work-around for now using in-place builds to run |
The first step is to support a persistent build directory (done in 0.2). However, I could possibly implement this the slow way (always rebuild) as an experiment before implementing it properly with a static build directory, if that is a simpler order. (One problem with a static build directory is the virtualenv moves around, so the paths change).
The text was updated successfully, but these errors were encountered: