bnjmnp / pysoem

Cython wrapper for the Simple Open EtherCAT Master Library
MIT License
96 stars 37 forks source link

Self-build build wheel makes slow connection #63

Closed AokiAhishatsu closed 2 years ago

AokiAhishatsu commented 2 years ago

If I build a wheel from source with python setup.py bdist_wheel my connection get's about 10 times slower.

How should I build this project? (I didn't find any documentation)

Are there any debug flags I should disable?

I'm using Win10 and Python 3.8 64bit.

bnjmnp commented 2 years ago

The wheels I upload to PyPI I build with python setup.py bdist_wheel, too, though nowadays one should do python -m build, using the Python package builder. All compiler flags are set in the setup.py.

I don't understand why your build is that slow. I did not update my compiler in a while, at the moment cl says: 19.25.28611, but I don't think compiler version difference should matter that much.

BTW: In the future I like to use GitHub actions and cibuildwheel to create wheels for multiple platforms. The build process will also be more transparent by that.

AokiAhishatsu commented 2 years ago

Closed because issue was related to my code changes.