Git Product home page Git Product logo

recipes-python-evdev's Introduction

python-evdev 0.4.4 for Yocto

This is a python-evdev recipe created and tested on Intel Galileo.

Create a folder "python-evdev" under [pathtoquarkbsp]/meta-clanton_vX.Y.Z/meta-clanton-distro/recipes-support and copy over the recipe script (python-evdev_0.4.4.bb) into the folder.

To build :-

Launch the Yocto command shell, and execute the following command:

~$ bitbake python-evdev -c build

Note: The python-evdev package will not be automatically installed, unless it is defined in the image recipe ( [pathtobspdirectory]/meta-clanton_vX.Y.Z/meta-clanton-distro/recipes-core/images/image-spi.bb)

As the build process will generate a python .egg. Alternatively, you may copy over the .egg file into your Intel Galileo target and use the following command to install it.

Note: The .egg file is located in the folder [your_yocto_working_dir]/tmp/work/i586-poky-linux-uclibc/python-evdev/0.4.4-r1/image/usr/lib/python2.7/site-packages/evdev-0.4.4-py2.7-linux-x86_64.egg

~$ unzip evdev-0.4.4-py2.7-linux-x86_64.egg -d /usr/lib/python2.7/site-packages

You may now use the python-evdev library in your python program on Intel Galileo.

A sample of interacting with a barcode reader is included under example/

recipes-python-evdev's People

Contributors

wallacezq avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.