2
XStatic resource package
4
See package 'XStatic' for documentation and basic tools.
7
DISPLAY_NAME = 'JQuery-Migrate' # official name, upper/lowercase allowed, no spaces
8
PACKAGE_NAME = 'XStatic-%s' % DISPLAY_NAME # name used for PyPi
10
NAME = __name__.split('.')[-1] # package name (e.g. 'foo' or 'foo_bar')
11
# please use a all-lowercase valid python
14
VERSION = '1.2.1' # version of the packaged files, please use the upstream
16
BUILD = '1' # 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
20
DESCRIPTION = "%s %s (XStatic packaging standard)" % (DISPLAY_NAME, VERSION)
24
KEYWORDS = '%s xstatic' % NAME
26
# XStatic-* package maintainer:
27
MAINTAINER = 'Radomir Dopieralski'
28
MAINTAINER_EMAIL = 'openstack@sheep.art.pl'
30
# this refers to the project homepage of the stuff we packaged:
31
HOMEPAGE = 'https://github.com/jquery/jquery-migrate'
33
# this refers to all files:
34
LICENSE = '(same as %s)' % DISPLAY_NAME
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/jquery_migrate'
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.