[Getan-commits] [PATCH 2 of 2] Include the template in the installed package data

Wald Commits scm-commit at wald.intevation.org
Mon Jan 5 10:55:37 CET 2015


# HG changeset patch
# User Björn Ricks <bjoern.ricks at intevation.de>
# Date 1420451728 -3600
# Node ID 2f9acd073dd3c831fcd68dacd70a8c15290e8132
# Parent  20fde79f8e12880b491c3e11c46ea04e33f2d99c
Include the template in the installed package data

This will ship the default templates in the install getan package. getan-eval.py
will no be able to find and load the default templates.

diff -r 20fde79f8e12 -r 2f9acd073dd3 setup.py
--- a/setup.py	Mon Jan 05 10:54:20 2015 +0100
+++ b/setup.py	Mon Jan 05 10:55:28 2015 +0100
@@ -33,6 +33,7 @@
       packages=find_packages(),
       package_data={
           "": ["*.txt"],
+          "getan": ["templates/*"],
       },
       scripts=glob.glob(os.path.join(scripts_dir, "*.py")) +
       [os.path.join(scripts_dir, "wochenbericht"),


More information about the Getan-commits mailing list