started install readme on ubuntu

This commit is contained in:
Bachir Soussi Chiadmi
2017-06-25 10:34:16 +02:00
parent 08361ddc99
commit 103af1abb4
3 changed files with 38 additions and 1 deletions
+1 -1
View File
@@ -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
View File
@@ -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
Executable
+31
View File
@@ -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())