comparison setup.py @ 381:2f9acd073dd3

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.
author Björn Ricks <bjoern.ricks@intevation.de>
date Mon, 05 Jan 2015 10:55:28 +0100
parents 20fde79f8e12
children 69ef6f89e930
comparison
equal deleted inserted replaced
380:20fde79f8e12 381:2f9acd073dd3
31 license="GPLv3+", 31 license="GPLv3+",
32 long_description=read("README"), 32 long_description=read("README"),
33 packages=find_packages(), 33 packages=find_packages(),
34 package_data={ 34 package_data={
35 "": ["*.txt"], 35 "": ["*.txt"],
36 "getan": ["templates/*"],
36 }, 37 },
37 scripts=glob.glob(os.path.join(scripts_dir, "*.py")) + 38 scripts=glob.glob(os.path.join(scripts_dir, "*.py")) +
38 [os.path.join(scripts_dir, "wochenbericht"), 39 [os.path.join(scripts_dir, "wochenbericht"),
39 os.path.join(scripts_dir, "convert-projects")], 40 os.path.join(scripts_dir, "convert-projects")],
40 entry_points={"console_scripts": 41 entry_points={"console_scripts":
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)