From fc4103c24b70980870475faa09b8a130174ddcf3 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sun, 20 Dec 2015 00:28:38 -0500 Subject: updated README.rst --- README.rst | 48 +++++++++++++++++++++--------------------------- lps_gen.py | 2 +- 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) -- cgit v1.2.3