Mercurial > kallithea
diff setup.py @ 6016:c436f337e253
paster: add informational/dummy "upgrade-db" command
The command is placed kallithea.lib.dbmigrate:UpgradeDb (which was the
location of the old command, too), to ensure that "paster upgrade-db"
continues to work, even if Kallithea is installed in "editable" mode
(setup.py develop/pip install -e) and package metadata has not been
updated (and also to prevent issues caused by stale .pyc files).
author | Søren Løvborg <sorenl@unity3d.com> |
---|---|
date | Tue, 14 Jun 2016 12:02:22 +0200 |
parents | c7ef77ab2f95 |
children | 7894a440e134 |
line wrap: on
line diff
--- a/setup.py Wed May 18 14:34:07 2016 +0200 +++ b/setup.py Tue Jun 14 12:02:22 2016 +0200 @@ -180,6 +180,7 @@ cache-keys=kallithea.lib.paster_commands.cache_keys:Command ishell=kallithea.lib.paster_commands.ishell:Command make-index=kallithea.lib.paster_commands.make_index:Command + upgrade-db=kallithea.lib.dbmigrate:UpgradeDb celeryd=kallithea.lib.celerypylons.commands:CeleryDaemonCommand install-iis=kallithea.lib.paster_commands.install_iis:Command """,