summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.rst48
-rw-r--r--lps_gen.py2
2 files changed, 22 insertions, 28 deletions
diff --git a/README.rst b/README.rst
index ca0ee4e..c95e591 100644
--- a/README.rst
+++ b/README.rst
@@ -1,43 +1,29 @@
LibrePlanet schedule generator
==============================
-Get it
-------
-
-Install ``virtualenv`` and ``python-dev`` package.
+Installation
+------------
On a Debian based distribution, do::
- # aptitude install virtualenv python-dev
+ # aptitude install virtualenv python-setuptools
- $ cd path/to/lpschedule-generator
+ $ mkdir lpschedule-generator
$ virtualenv .
+ $ source bin/activate
-Activate virtual environment
-----------------------------
-
-::
-
- $ cd path/to/lpschedule-generator
- $ source bin/activate
-
-Heads up! Always activate the virtual environment before executing any
-of the commands in the following sections.
+ $ pip install lpschedule-generator --pre
-Install script
---------------
-
-::
- $ python setup.py install
+Activating virtual environment
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Upgrade script
---------------
+Always activate the virtual environment before using the ``lps_gen``
+command::
-::
+ $ cd path/to/lpschedule-generator
+ $ source bin/activate
- $ git pull origin master
- $ python setup.py install
Usage
-----
@@ -46,7 +32,15 @@ Usage
$ lps_gen YEAR path/to/lp-schd.md > path/to/program-schedule.html
-Replace `YEAR` with LP year; for example, for generating LP 2016
+Replace ``YEAR`` with LP year; for example, for generating LP 2016
schedule, the command will be::
$ lps_gen 2016 path/to/lp-schd.md > path/to/program-schedule.html
+
+
+Source
+------
+
+::
+
+ $ git clone https://notabug.org/rsd/lpschedule-generator.git
diff --git a/lps_gen.py b/lps_gen.py
index b90dab0..66e500e 100644
--- a/lps_gen.py
+++ b/lps_gen.py
@@ -30,7 +30,7 @@ from jinja2 import Environment, PackageLoader
from jinja2.exceptions import TemplateNotFound
from mistune import Renderer, Markdown
-__version__ = '0.1.0.dev4'
+__version__ = '0.1.0.dev5'
# unicode magic
reload(sys)