Debian Codegraph @

xstatic/pkg/hogan/__init__.py

raw symbols SCIP
1 """
2 XStatic resource package
3
4 See package 'XStatic' for documentation and basic tools.
5 """
6
7 DISPLAY_NAME = 'Hogan' # official name, upper/lowercase allowed, no spaces
8 PACKAGE_NAME = 'XStatic-%s' % DISPLAY_NAME # name used for PyPi
9
10 NAME = __name__.split('.')[-1] # package name (e.g. 'foo' or 'foo_bar')
11 # please use a all-lowercase valid python
12 # package name
13
14 VERSION = '2.0.0' # version of the packaged files, please use the upstream
15 # version number
16 BUILD = '2' # our package build number, so we can release new builds
17 # with fixes for xstatic stuff.
18 PACKAGE_VERSION = VERSION + '.' + BUILD # version used for PyPi
19
20 DESCRIPTION = "%s %s (XStatic packaging standard)" % (DISPLAY_NAME, VERSION)
21
22 PLATFORMS = 'any'
23 CLASSIFIERS = []
24 KEYWORDS = '%s xstatic' % NAME
25
26 # XStatic-* package maintainer:
27 MAINTAINER = 'Radomir Dopieralski'
28 MAINTAINER_EMAIL = '[email protected]'
29
30 # this refers to the project homepage of the stuff we packaged:
31 HOMEPAGE = 'http://twitter.github.io/hogan.js/'
32
33 # this refers to all files:
34 LICENSE = '(same as %s)' % DISPLAY_NAME
35
36 from os.path import join, dirname
37 BASE_DIR = join(dirname(__file__), 'data')
38 # linux package maintainers just can point to their file locations like this:
39 #BASE_DIR = '/usr/share/javascript/hogan'
40
41 LOCATIONS = {
42 # CDN locations (if no public CDN exists, use an empty dict)
43 # if value is a string, it is a base location, just append relative
44 # path/filename. if value is a dict, do another lookup using the
45 # relative path/filename you want.
46 # your relative path/filenames should usually be without version
47 # information, because either the base dir/url is exactly for this
48 # version or the mapping will care for accessing this version.
49 }