-
Notifications
You must be signed in to change notification settings - Fork 8
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
ronin does not work on windows #4
Comments
Thanks for considering Ronin, am happy to help make it work better for you. The whole point of Blessings, I thought, was to allow support for multi-platforms. Have you actually tried it in Windows? What error do you get? It's definitely possible to make it optional. |
Yes, i have tried it on Windows. The error is:
I don't know about blessings multi-platform capabilities, but it tries to include fcntl, which is not portable, afaik. See here for example. If I can help you somehow let me know. |
Also, you cannot simply install fcntl on Windows:
|
Thanks, very clear. Do you feel like tackling this yourself and submitting a PR? If not, I might find time next week. I don't think it should be too hard to figure out how to make colors work on both Windows and *nix. |
I have solved this uninstalling "blessing" and installing "blessed" https://pypi.org/project/blessed/ then in \site-packages\ronin\utils\messages.py at line 18 changing "from blessings import Terminal" to "from blessed import Terminal" |
@riccardolasagno That's great! Could you submit a pull request, please? |
Hi,
i'm evaluating ronin as a possible build system for a FPGA project. One of my needs is that it works on Linux and Windows. That's why i look for build systems based on python.
ronin uses blessings, which in turn uses fcntl. Both of these modules are not cross-platform.
I'm wondering why you're using those modules and if you intended ronin to be cross-platform?
At least your PyPI entry has the tag 'OS Independent'.
The text was updated successfully, but these errors were encountered: