Closed finalised closed 6 years ago
Yeah, I have a fix locally but I haven't pushed it. I'll push it in a day or two.
can you please push the new version?
Yeah sorry I started work into other things. For now, open the enumerations.py
file and replace each instance of (with_metaclass(KeywordMeta, CEnum))
to just (CEnum, metaclass=KeywordMeta)
e.g.
class CLK(with_metaclass(KeywordMeta, CEnum)):
becomes
class CLK(CEnum, metaclass=KeywordMeta):
Note this breaks Python 2.x compatibility. I'll get around to finding a backwards compatible fix sometime
Should be fixed by #10. Very sorry for the long wait, been busy with other things.
I had issues getting the package to work on Python 3.6, so I downgraded to Python 3.2 and it still didn't work. I then read somewhere that between versions 3.4 and 3.5 they changed the way the enum module worked.
To fix this, I installed Python 3.5.0 and it's all good now.
Just want to put this here in case others are looking for a solution.