cubicweb/skeleton/migration/postcreate.py.tmpl
author Denis Laxalde <denis.laxalde@logilab.fr>
Sat, 16 Jan 2016 13:48:51 +0100
changeset 11057 0b59724cb3f2
parent 10214 skeleton/migration/postcreate.py.tmpl@88f60d4b9952
permissions -rw-r--r--
Reorganize source tree to have a "cubicweb" top-level package Basically: mkdir cubicweb hg mv *.py -X setup.py cubicweb hg mv dataimport devtools entities etwist ext hooks i18n misc schemas server skeleton sobjects test web wsgi cubicweb Other changes: * adjust path to cubicweb-ctl in devtools tests * update setup.py to avoid importing __pkginfo__ (exec it instead), replace os.path.walk by os.walk and prepend `modname` here and there * update tox.ini to account for new test locations * update doc/conf.py so that it still finds __pkginfo__.py and CWDIR in doc/Makefile
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8207
c04676b16c59 ([config] add file encoding information to python files (closes #1942655)
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5426
diff changeset
     1
# -*- coding: utf-8 -*-
5423
e15abfdcce38 backport default into stable: stable is now cw 3.8
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5421 5184
diff changeset
     2
# copyright %(year)s %(author)s, all rights reserved.
e15abfdcce38 backport default into stable: stable is now cw 3.8
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5421 5184
diff changeset
     3
# contact %(author-web-site)s -- mailto:%(author-email)s
5421
8167de96c523 proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 4212
diff changeset
     4
#
5423
e15abfdcce38 backport default into stable: stable is now cw 3.8
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5421 5184
diff changeset
     5
%(long-license)s
5184
955ee1b24756 [c-c newcube] #1192: simpler cubicweb-ctl newcube, and more
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 4212
diff changeset
     6
"""%(distname)s postcreate script, executed at instance creation time or when
955ee1b24756 [c-c newcube] #1192: simpler cubicweb-ctl newcube, and more
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 4212
diff changeset
     7
the cube is added to an existing instance.
955ee1b24756 [c-c newcube] #1192: simpler cubicweb-ctl newcube, and more
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 4212
diff changeset
     8
955ee1b24756 [c-c newcube] #1192: simpler cubicweb-ctl newcube, and more
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 4212
diff changeset
     9
You could setup site properties or a workflow here for example.
1977
606923dff11b big bunch of copyright / docstring update
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 0
diff changeset
    10
"""
606923dff11b big bunch of copyright / docstring update
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 0
diff changeset
    11
3167
3d985c6f4d46 [D] add example about site properties configuration
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 1977
diff changeset
    12
# Example of site property change
3d985c6f4d46 [D] add example about site properties configuration
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 1977
diff changeset
    13
#set_property('ui.site-title', "<sitename>")