lpschedule-generator

libreplanet schedule generator - ricketyspace.net/lpschedule-generator
git clone git://git.ricketyspace.net/lpschedule-generator.git
Log | Files | Refs

commit fc4103c24b70980870475faa09b8a130174ddcf3
parent 70d886e741d18a5829b801a991867cd1a5f60adb
Author: rsiddharth <rsd@gnu.org>
Date:   Sun, 20 Dec 2015 00:28:38 -0500

updated README.rst

Diffstat:
README.rst | 48+++++++++++++++++++++---------------------------
lps_gen.py | 2+-
2 files changed, 22 insertions(+), 28 deletions(-)

diff --git 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 @@ -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)