From be635e65fa948cf2fe7aca341b3dc6c2479e0d15 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 22 Apr 2013 11:04:57 -0400 Subject: Initial commit; Dynamically find metadata.tpl --- ips/tpl/__init__.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ips/tpl/__init__.py diff --git a/ips/tpl/__init__.py b/ips/tpl/__init__.py new file mode 100644 index 0000000..ea5bd8e --- /dev/null +++ b/ips/tpl/__init__.py @@ -0,0 +1,20 @@ +# This file is part of ipsutils. + +# ipsutils 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. +# +# ipsutils 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 ipsutils. If not, see . + +# I am not sure if this is proper, but needs to happen for metadata templating +# to function properly +import os +metadata = os.path.normpath(os.path.join(os.path.dirname(__file__), 'metadata.tpl')) +del os -- cgit