barakugav / FDML

FDML is a CPP software for robot localization processing and queries using few (one or two) distance measurements
2 stars 1 forks source link

Load .dll automatically by __init__.py in fdml module #10

Open barakugav opened 2 years ago

barakugav commented 2 years ago

On windows, after compiling the Python bindings, a .dll is created. Currently the user need to use os.add_dll_directory. Need to find .dll automatically by calling the add_dll func ourselves in an init.py file. Need to check if the init file is called before the dll is required.