-
Notifications
You must be signed in to change notification settings - Fork 41
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
Question: Worth while automating install? #57
Comments
@baentsch Will look into this, thanks! |
After some thought, I believe it's simpler to keep |
Hmm -- can I ask you to consider the position of users, too, please? They want the code to build -- and run correctly. They want the "standard case" to work. Both would be guaranteed by way of submodule use. Your concerns above are ones that could be solved by scripting (for your internal testing) and not breaking things: Indeed if something breaks, there is nearly always something wrong in the set-up, i.e., a real problem. Thus, sub-module relationships can very well serve as canaries for incorrect code (either up- or downstream or in the local package). I see your frustration of not getting support by others helping you with this sub-project (and taking this issue on). I share it in all other sub-projects that I can devote more time to. My approach there is to keep issues open, though, in the hope that some new contributors take them on and improve the overall situation. May I ask you to consider adopting this approach here, too? |
@baentsch Sure Michael, thanks!! I've created https://github.com/open-quantum-safe/liboqs-python/tree/automate_install and I think I have some idea of how to automate installation of liboqs (in case it's not already installed). |
Fixed by #80 For now, only UNIX-like platforms are supported. Having automatic installation on Windows seems challenging. |
Triggered by open-quantum-safe/liboqs#1367 this is to ask whether it might be worth while extending
setup.py
along the lines shown e.g., here to buildliboqs
automatically when running the install (e.g., after makingliboqs
a git submodule ofliboqs-python
)? Have you already considered this once, @vsoftco ?Right now, running
python3 setup.py install
runs successfully even if liboqs has not been built (and/or is not onLD_LIBRARY_PATH
) -- "just" the subsequent commands then don't work: At least confused me somewhat -- but then again, I'm no serious python user...The text was updated successfully, but these errors were encountered: