diff --git a/libriis/classes/highlighter.py b/libriis/classes/highlighter.py index 1ac5874..ccf6525 100644 --- a/libriis/classes/highlighter.py +++ b/libriis/classes/highlighter.py @@ -83,7 +83,7 @@ class Highlighter(QSyntaxHighlighter): QSyntaxHighlighter.__init__(self, parent) styles = list(get_all_styles()) - print(styles) + # print(styles) # Keep the formatter and lexer, initializing them # may be costly. diff --git a/readme.md b/readme.md index 4ead4fb..785aae3 100644 --- a/readme.md +++ b/readme.md @@ -40,6 +40,12 @@ For Arch Linux and derivated distro, an aur package exists : yaourt -S libriis-git ``` +### Ubuntu + +install dependences +``` +qt5-base python python-pyqt5 python-markdown python-pygit2 python-beautifulsoup4 pandoc python-pypandoc python-pygments python-setuptools desktop-file-utils qt5-webkit-print +``` ### qt-webkit diff --git a/start b/start new file mode 100755 index 0000000..48ab479 --- /dev/null +++ b/start @@ -0,0 +1,31 @@ +#!/usr/bin/env python +# -*- python-mode -*- +"""Libriis: The html2print GUI +""" + +from __future__ import absolute_import, print_function, division, unicode_literals +import sys, os + +# print(os.environ['LD_LIBRARY_PATH']) + +__copyright__ = """ +Copyright (C) 2007-2016 Bachir Soussi Chiadmi + +This program is free software; you can redistribute it and/or modify +it under the terms of the A GNU General Public License version 2 as +published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +""" + +from libriis.main import main + +# sys.path.append('/usr/local/lib') +# sys.path.append('/usr/local/lib64') + +if __name__ == '__main__': + sys.exit(main())