python-dlt icon indicating copy to clipboard operation
python-dlt copied to clipboard

Windows support

Open AlessandroBono opened this issue 7 years ago • 7 comments

Hello, is it possible to adapt this library to work on Windows too?

AlessandroBono avatar Dec 04 '18 09:12 AlessandroBono

We do not use it on Windows internally and we have no experience in making the ctypes work on Windows. If someone can make it work and the patch does not look too horrible, we can include that functionality. At least the part that loads the C library (.so in Linux and .dll in Windows) likely needs to change. The rest should be platform agnostic, but you never know unless you actually try.

aigarius avatar Dec 04 '18 09:12 aigarius

Thank you for your quick response! The first step would be to have a dll version of libdlt.so. Looking on the Internet I cannot find it. It seems to be part of dlt-daemon source code which is GNU/Linux only. Can you confirm it?

AlessandroBono avatar Dec 04 '18 14:12 AlessandroBono

Yes, the library comes from https://github.com/GENIVI/dlt-daemon there are some references to it working in Windows at https://at.projects.genivi.org/wiki/display/PROJ/About+DLT-Transport

aigarius avatar Dec 04 '18 15:12 aigarius

Did anyone do modification in library in order to work on Windows as well?

ankitkgupta09 avatar Jan 08 '19 16:01 ankitkgupta09

Hi, about the 'ctypes' issue, maybe you would try to consider 'pywin32-ctypes' :

https://github.com/enthought/pywin32-ctypes

As for installation, would a "pip" package be available, like :

pip install python-dlt

Thanks...

Kochise avatar Oct 03 '19 06:10 Kochise

is this library is mounted on pip, so we can installed

KheireddineAzzez avatar May 21 '23 13:05 KheireddineAzzez