From 77f0b522e1a16b1dba36432d5aa7a099bfe84403 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sat, 19 Dec 2015 17:41:41 -0500 Subject: updated lps_gen.RenderHTML - Now handles the case when the template does not exist. - HTML output is now prettified by BeautifulSoup. --- setup.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index c31e669..c767ef9 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,6 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# # Copyright (C) 2015 lpschedule-generator contributors. See CONTRIBUTORS. # # This file is part of lpschedule-generator. @@ -22,14 +25,15 @@ except ImportError: from distutils.core import setup config = { + 'name': 'lpschedule-generator', 'description': 'LibrePlanet schedule generator', 'author': 'rsiddharth', 'url': 'https://notabug.org/rsd/lpschedule-generator/', 'author_email': 'rsd@gnu.org', 'version': '0.0', - 'install_requires': ['nose', 'mistune', 'Jinja2'], + 'install_requires': ['nose', 'mock', 'mistune', 'Jinja2', 'beautifulsoup4'], 'py_modules': ['lps_gen'], - 'name': 'lpschedule-generator' - } + 'data_files':[('templates',['templates/lp-sch-2016.jinja2'])], +} setup(**config) -- cgit v1.2.3