Refer to the html documentation in the help/ subdirectory.
Kodos is a Python Gui for creating and debugging regex. I was using this up to about two years ago and it was availabled on Fedora. Recently I wanted to use it again and could no longer find it available. Searching around the net, I found that it was not ported to Python3 and neither from PyQt3 and as a result the package was dropped in Linux Fedora. I therefore decided to port it for my own use, I found some forks in github particularly luksan/kodos and teythoon/kodos and also others where they have already some work on port to python 3 and pyQt4, more details here on tag v2.5.1 , I did the most of the porting to pyQt5 and some details in Python3
`python3 setup.py build`
we use make -C kodos which to build use pyrcc5, pyuic5 and pylupdate5
+ /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP'
running build
running build_py
pyrcc5 -o kodos/kodos_rc.py kodos.qrc
make -C kodos
make[1]: Entering directory '/builddir/build/BUILD/kodos-2.6.2/kodos'
make $(echo *ui | sed -e 's/ui/py/g')
make[2]: Entering directory '/builddir/build/BUILD/kodos-2.6.2/kodos'
pyuic5 --from-imports -o aboutBA.py aboutBA.ui
pyuic5 --from-imports -o helpBA.py helpBA.ui
pyuic5 --from-imports -o kodosBA.py kodosBA.ui
pyuic5 --from-imports -o newUserDialogBA.py newUserDialogBA.ui
pyuic5 --from-imports -o prefsBA.py prefsBA.ui
pyuic5 --from-imports -o referenceBA.py referenceBA.ui
pyuic5 --from-imports -o regexLibraryBA.py regexLibraryBA.ui
pyuic5 --from-imports -o urlDialogBA.py urlDialogBA.ui
make[2]: Leaving directory '/builddir/build/BUILD/kodos-2.6.2/kodos'
make[1]: Leaving directory '/builddir/build/BUILD/kodos-2.6.2/kodos'
pylupdate5 kodos.pro
make -C translations
make[1]: Entering directory '/builddir/build/BUILD/kodos-2.6.2/translations'
#sed -i -e 's#\(filename="\)#\1../#g' kodos_en.ts kodos_pl.ts
make[1]: Leaving directory '/builddir/build/BUILD/kodos-2.6.2/translations'
Install : python3 setup.py install
A single binary can be built with:
pyinstaller --onefile kodos.py
