Browse Source

started install readme on ubuntu

Bachir Soussi Chiadmi 6 years ago
parent
commit
103af1abb4
3 changed files with 38 additions and 1 deletions
  1. 1 1
      libriis/classes/highlighter.py
  2. 6 0
      readme.md
  3. 31 0
      start

+ 1 - 1
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.

+ 6 - 0
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

+ 31 - 0
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())