PDA

View Full Version : Python Enigma



stingray13
25-12-17, 23:29
Good Evening & Happy Xmas to you all;

I want to import enigma to python 2.7 on my windows machine so that i can write plugins and test them without a box is this possible?

i.e how I install the package enigma on to python I have tried all the ways i can think of and can't find a module for me to download and manually install can anyone shed some light on this one for me?

birdman
26-12-17, 02:27
I want to import enigma to python 2.7 on my windows machine so that i can write plugins and test them without a box is this possible?If you look in the tests directory of the enigma2 source on git you will find some code that attempts to enable this. The README file starts:

enigma2 test environment


The goal is to test as much components of enigma2 with as less[sic] dependencies
as possible. So we create an environment which emulates "all" runtime
dependencies with fixed value.

Only python is tested, all c++ stuff is re-implemented in python (usually as
dummy functions).
Most of the code is 10 years old. The enigma.py code (the newest file there) is "only" 33 months old.
My suspicion is that it won't work.