-
Notifications
You must be signed in to change notification settings - Fork 6
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
build error on windows #4
Comments
it seems we need to have wheels for windows on pypi as well (https://pypi.org/project/pyreaddbc/#files), for example https://pypi.org/project/scipy/#files |
should we use this: https://github.com/pypa/cibuildwheel ? |
looks great! |
This has to be added to this repo, PySUS is a pure python package that does not need CIBuilld for multiple platforms: |
I have done this fork in order to make things to work in windows 10, hope it works for you. It would be great to have this library to work correctly for all platforms. I had to install microsoft build tools: |
awesome! a PR would be very welcome! feel free to open a PR and ping us if you have any question |
One issue is that the _readdbc.dll must be manually renamed to _readdbc.pyd. I do not know much about building stuff in windows, and this took a long time for me to find out, but maybe there is a way to do this automatically. |
rename the file it would be something really easy ... maybe at the end of the process just use shutil to rename the file (if it is the real problem). my main concern is about unistd.h https://github.com/osl-incubator/pyreaddbc/blob/main/pyreaddbc/c-src/dbc2dbf.c#L32 as far as I know that is something exclusive to unix architecture ... I am not an expert thou ... |
hi @franzoni315 thanks for looking into this! Have you looked at this: |
Hi I got this bug report on PySUS, but it need to be solved here.
can you take a look @esloch ?
The text was updated successfully, but these errors were encountered: