Python library for support of 96board mezzanine micromez
Project description
Overview
========
This is the Python library to support the micromez add-on board that is part of the 96Boards Mezzanine Community effort:
https://github.com/96boards/mezzanine-community/tree/master/boards/other/micromez
Documentation
=============
https://micromez.readthedocs.io/en/latest/overview.html
Building mraa
=============
This library has a dependancy on the mraa GPIO library which can be installed with Python bindings as follows:
```
sudo apt-get install git build-essential swig3.0 python3-dev nodejs-dev cmake libjson-c-dev
git clone https://github.com/intel-iot-devkit/mraa.git
cd mraa
mkdir build
cd build
cmake -DBUILDSWIG=ON \
-DBUILDSWIGPYTHON=ON \
-DBUILDSWIGPYTHON3=ON \
-DBUILDSWIGNODE=OFF \
-DBUILDSWIGJAVA=OFF \
..
make
sudo make install
```
Load additional Fonts
=====================
If more fonts are required in addition to the three provided, the following will need to be done:
```
sudo apt-get install python3-pip
sudo pip3 install setuptools
sudo pip3 install freetype-py
sudo apt-get install libfreetype6-dev
./font_to_py.py /usr/share/fonts/opentype/ipafont-gothic/ipag.ttf 16 myfont.py
```
========
This is the Python library to support the micromez add-on board that is part of the 96Boards Mezzanine Community effort:
https://github.com/96boards/mezzanine-community/tree/master/boards/other/micromez
Documentation
=============
https://micromez.readthedocs.io/en/latest/overview.html
Building mraa
=============
This library has a dependancy on the mraa GPIO library which can be installed with Python bindings as follows:
```
sudo apt-get install git build-essential swig3.0 python3-dev nodejs-dev cmake libjson-c-dev
git clone https://github.com/intel-iot-devkit/mraa.git
cd mraa
mkdir build
cd build
cmake -DBUILDSWIG=ON \
-DBUILDSWIGPYTHON=ON \
-DBUILDSWIGPYTHON3=ON \
-DBUILDSWIGNODE=OFF \
-DBUILDSWIGJAVA=OFF \
..
make
sudo make install
```
Load additional Fonts
=====================
If more fonts are required in addition to the three provided, the following will need to be done:
```
sudo apt-get install python3-pip
sudo pip3 install setuptools
sudo pip3 install freetype-py
sudo apt-get install libfreetype6-dev
./font_to_py.py /usr/share/fonts/opentype/ipafont-gothic/ipag.ttf 16 myfont.py
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
micromez-0.0.4.tar.gz
(108.4 kB
view hashes)
Built Distribution
micromez-0.0.4-py2.py3-none-any.whl
(128.1 kB
view hashes)
Close
Hashes for micromez-0.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 380d2e869beb8f9f6ebb90b5f758e2d1d42084581e086c83fd921d09c111dd4c |
|
MD5 | 1c687b1c00332e2c20b926d35adbe7be |
|
BLAKE2b-256 | 002e408ea80cac03e79904f3355d038c742ec0e381d537e52f3497877124d86e |