Skip to content

Commit

Permalink
more work on scaffold
Browse files Browse the repository at this point in the history
  • Loading branch information
xrotwang committed Feb 11, 2014
1 parent de6436b commit 8abf779
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,17 @@ def main(args):

dataset = common.Dataset(
id={{package}}.__name__,
name="--TODO--",
publisher_name ="Max Planck Institute for Evolutionary Anthropology",
publisher_place="Leipzig",
publisher_url="http://www.eva.mpg.de",
license="http://creativecommons.org/licenses/by/3.0/",
domain='{{package}}.clld.org')
DBSession.add(dataset)

#
# TODO: add editors!
#

def prime_cache(args):
"""If data needs to be denormalized for lookup, do that here.
Expand Down
5 changes: 4 additions & 1 deletion clldmpg/scaffolds/clld_app/setup.py_tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@ setup(name='{{project}}',
install_requires=requires,
tests_require=requires,
test_suite="{{package}}",
entry_points="",
entry_points="""\
[paste.app_factory]
main = {{package}}:main
""",
)

0 comments on commit 8abf779

Please sign in to comment.