Mercurial > piecrust2
comparison piecrust/__init__.py @ 69:cb1ed436642c
Always use version generated by `setup.py`. Better version generation.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 30 Aug 2014 08:35:26 -0700 |
parents | 485682a6de50 |
children | 69d5eecfa449 |
comparison
equal
deleted
inserted
replaced
67:563ce5dd02af | 69:cb1ed436642c |
---|---|
1 | |
2 APP_VERSION = '2.0.0alpha' | |
3 | 1 |
4 CACHE_DIR = '_cache' | 2 CACHE_DIR = '_cache' |
5 ASSETS_DIR = 'assets' | 3 ASSETS_DIR = 'assets' |
6 TEMPLATES_DIR = 'templates' | 4 TEMPLATES_DIR = 'templates' |
7 PLUGINS_DIR = 'plugins' | 5 PLUGINS_DIR = 'plugins' |
17 DEFAULT_PLUGIN_SOURCE = 'http://bitbucket.org/ludovicchabant/' | 15 DEFAULT_PLUGIN_SOURCE = 'http://bitbucket.org/ludovicchabant/' |
18 DEFAULT_THEME_SOURCE = 'http://bitbucket.org/ludovicchabant/' | 16 DEFAULT_THEME_SOURCE = 'http://bitbucket.org/ludovicchabant/' |
19 | 17 |
20 PIECRUST_URL = 'http://bolt80.com/piecrust/' | 18 PIECRUST_URL = 'http://bolt80.com/piecrust/' |
21 | 19 |
20 try: | |
21 from piecrust.__version__ import APP_VERSION | |
22 except ImportError: | |
23 APP_VERSION = 'unknown' | |
24 |