3
XStatic resource package
5
See package 'XStatic' for documentation and basic tools.
8
# official name, upper/lowercase allowed, no spaces
9
DISPLAY_NAME = 'bootswatch'
12
PACKAGE_NAME = 'XStatic-%s' % DISPLAY_NAME
14
NAME = __name__.split('.')[-1] # package name (e.g. 'foo' or 'foo_bar')
15
# please use a all-lowercase valid python
18
VERSION = '3.3.5' # version of the packaged files, please use the upstream
20
BUILD = '2' # our package build number, so we can release new builds
21
# with fixes for xstatic stuff.
22
PACKAGE_VERSION = VERSION + '.' + BUILD # version used for PyPi
24
DESCRIPTION = "%s %s (XStatic packaging standard)" % (DISPLAY_NAME, VERSION)
28
KEYWORDS = 'bootswatch xstatic'
30
# XStatic-* package maintainer:
31
MAINTAINER = 'Diana Whitten'
32
MAINTAINER_EMAIL = 'hurgleburgler@gmail.com'
34
# this refers to the project homepage of the stuff we packaged:
35
HOMEPAGE = 'http://bootswatch.com'
37
# this refers to all files:
38
LICENSE = '(same as %s)' % DISPLAY_NAME
40
from os.path import join, dirname
41
BASE_DIR = join(dirname(__file__), 'data')
42
# linux package maintainers just can point to their file locations like this:
43
#BASE_DIR = '/usr/share/javascript/' + NAME
45
# location of the Javascript file that's the entry point for this package, if
46
# one exists, relative to BASE_DIR
50
# CDN locations (if no public CDN exists, use an empty dict)
51
# if value is a string, it is a base location, just append relative
52
# path/filename. if value is a dict, do another lookup using the
53
# relative path/filename you want.
54
# your relative path/filenames should usually be without version
55
# information, because either the base dir/url is exactly for this
56
# version or the mapping will care for accessing this version.