Skip to content

Commit

Permalink
README: Python 3 updates
Browse files Browse the repository at this point in the history
  • Loading branch information
novoid committed Sep 23, 2018
1 parent 756aabb commit 45b85e8
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ left to add, but when there is nothing left to take away.» ([[https://en.wikipe
Saint-Exupéry]])
#+END_QUOTE


* lazyblorg -- blogging with Org-mode for very lazy people

This is a web log (blog) environment for [[http://en.wikipedia.org/wiki/Emacs][GNU Emacs]] with [[http://orgmode.org/][Org-mode]]
Expand Down Expand Up @@ -96,6 +95,8 @@ for as long as possible.
:CREATED: [2014-03-14 Fr 13:24]
:END:

lazyblorg is written in *Python 3*.

Development platform is Debian GNU/Linux. So with any decent GNU/Linux
you should be fine as well.

Expand Down Expand Up @@ -297,12 +298,13 @@ See https://github.com/novoid/lazyblorg/wiki/FAQs

* Installing and Starting with lazyblorg

Currently, lazyblorg is in *beta status*. It's not finished
yet. However, I am using it for [[http://Karl-Voit.at][my own blog]] and therefore it gets more
and more ready to use as I add new features.
I am using it for [[http://Karl-Voit.at][my own blog]] and therefore it gets more and more
ready to use as I add new features.

What's working so far:
- parsing a very basic sub-set of Org-mode
- parsing a large sub-set of Org-mode
- most important: the parser requires a blank line between different
Org mode elements
- parsing the HTML templates
- generating HTML5 pages with [[https://github.com/novoid/lazyblorg/wiki/Org-mode-Elements][a sub-set of the sub-set of the Org-mode
syntax elements]]
Expand All @@ -314,22 +316,22 @@ The number of external dependencies is kept at a minimum.
This is a list of the most important dependencies:
- [[http://werkzeug.pocoo.org/][Werkzeug]]
- for sanitizing path components
- I installed it on Debian GNU/Linux with ~apt-get install python-werkzeug~
- I installed it on Debian GNU/Linux with ~apt-get install python3-werkzeug~
- pickle
- object serialization
- most likely: should be part of your Python distribution
- pypandoc
- some Org-mode syntax elements are being converted using [[http://pandoc.org/][Pandoc]] and
its Python binding [[https://github.com/bebraw/pypandoc][pypandoc]]
- you can get it via ~sudo apt-get install pandoc~ and ~sudo pip
install pypandoc~
install python3-pypandoc~
- *Note:* Debian GNU/Linux 8 (Jessie) comes with a Pandoc version
[[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800701][which is has bugs]]. Please install a more recent version. I
upgraded to ~pandoc-1.15.1-1-amd64.deb~ from:
http://pandoc.org/installing.html
- [[https://pypi.python.org/pypi/opencv-python][opencv-python]]
- lazyblorg scales embedded images according to the HTML export attributes
- Install using =sudo apt-get install python-opencv=
- Install using =sudo apt-get install python3-opencv=
- [[http://sass-lang.com/][Sass]] (optional) if you want to generate your CSS from the scss-file

All other libraries should be part of a standard Python distribution.
Expand Down

0 comments on commit 45b85e8

Please sign in to comment.