trolldbois / ctypeslib

Generate python ctypes classes from C headers. Requires LLVM clang
http://trolldbois.blogspot.com/search?q=ctypeslib
MIT License
217 stars 61 forks source link

clang2py not installed in "/usr/bin" #108

Closed FloSim82 closed 2 years ago

FloSim82 commented 2 years ago

Under Ubuntu 18.04, when installing ctypeslib2 via the pip install ctypeslib2 command, the clang2py executable is created in ~/.local/bin repository, even if NOT using the "--user" option.

I don't know if it comes from my environment, but instead it would be better to copy it directly in the /usr/bin directory (useful when we don't want to deal with PATH values).

Thank you.

FloSim82 commented 2 years ago

can't reproduce, clang2py is installed in /usr/local/bin (with sudo pip install ctypeslib2 command).