lpschedule-generator

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

commit 0b665043bffe43d52221f76f093be08873505eb1
parent 09c362823c14276bf4f23d9cb099bbc28b11d0d6
Author: rsiddharth <rsd@gnu.org>
Date:   Sat,  5 Mar 2016 22:50:03 -0500

Moved _version elsewhere.

It is now at lpschedule_generator/_version.py

Diffstat:
_version.py | 21---------------------
lps_gen.py | 2+-
lpschedule_generator/__init__.py | 0
lpschedule_generator/_version.py | 21+++++++++++++++++++++
setup.py | 4++--
5 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/_version.py b/_version.py @@ -1,21 +0,0 @@ -# -*- coding: utf-8 -*- -# -# Copyright (C) 2015 lpschedule-generator contributors. See CONTRIBUTORS. -# -# This file is part of lpschedule-generator. -# -# lpschedule-generator is free software: you can redistribute it -# and/or modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation, either version 3 of -# the License, or (at your option) any later version. -# -# lpschedule-generator is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with lpschedule-generator (see COPYING). If not, see -# <http://www.gnu.org/licenses/>. - -__version__ = '0.3.2' diff --git a/lps_gen.py b/lps_gen.py @@ -31,7 +31,7 @@ from jinja2.exceptions import TemplateNotFound from mistune import Renderer, Markdown from unidecode import unidecode -from _version import __version__ +from lpschedule_generator._version import __version__ # unicode magic diff --git a/lpschedule_generator/__init__.py b/lpschedule_generator/__init__.py diff --git a/lpschedule_generator/_version.py b/lpschedule_generator/_version.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2015 lpschedule-generator contributors. See CONTRIBUTORS. +# +# This file is part of lpschedule-generator. +# +# lpschedule-generator is free software: you can redistribute it +# and/or modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# lpschedule-generator is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with lpschedule-generator (see COPYING). If not, see +# <http://www.gnu.org/licenses/>. + +__version__ = '0.3.3.dev3' diff --git a/setup.py b/setup.py @@ -19,7 +19,7 @@ # along with lpschedule-generator (see COPYING). If not, see # <http://www.gnu.org/licenses/>. -import _version +from lpschedule_generator import _version from setuptools import setup, find_packages @@ -46,7 +46,7 @@ config = { 'install_requires': ['mistune', 'Jinja2', 'beautifulsoup4', 'unidecode'], 'tests_require': ['nose', 'mock'], 'test_suite': 'nose.collector', - 'py_modules': ['lps_gen'], + 'py_modules': ['lps_gen', 'lpschedule_generator._version'], 'data_files': [('local/share/lpschedule-generator/libreplanet-templates/2016', ['libreplanet-templates/2016/lp-schedule.jinja2', 'libreplanet-templates/2016/lp-speakers.jinja2'])],