where is .ev module? (in github repository)

Asked by mete0r

i think https://github.com/tuomasjjrasanen/python-uinput/tree/master/src is uinput package directory, but there seems no ev.py module. am i missing something?

Question information

Language:
English Edit question
Status:
Answered
For:
python-uinput Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
a (tuomasjjrasanen) said :
#1

src/ev.py will be created when the package is built by running: python setup.py build.

The reason for generating src/ev.py rather than distributing it as a static file is that the contents of src/ev.py corresponds to the contents of /usr/include/linux/input.h. This can vary from kernel version to kernel version, and hence from system to system. Distributing one static file which would match all systems is impossible, generating it at the build time gives almost perfect match.

Revision history for this message
a (tuomasjjrasanen) said :
#2

Tuomas Jorma Juhani Räsänen suggests this article as an answer to your question:
FAQ #2089: “Where is .ev module?”.

Can you help with this problem?

Provide an answer of your own, or ask mete0r for more information if necessary.

To post a message you must log in.