~ubuntu-branches/ubuntu/vivid/horizon/vivid-updates

« back to all changes in this revision

Viewing changes to pkg/angular_smart_table/__init__.py

  • Committer: Package Import Robot
  • Author(s): Corey Bryant
  • Date: 2015-04-30 15:46:00 UTC
  • mto: (0.15.1) (87.1.1 vivid-proposed)
  • mto: This revision was merged to the branch mainline in revision 87.
  • Revision ID: package-import@ubuntu.com-20150430154600-1zms8pm8yccw8n1h
Tags: upstream-2015.1.0/xstatic
Import upstream version 2015.1.0, component xstatic

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
"""
 
3
XStatic resource package
 
4
 
 
5
See package 'XStatic' for documentation and basic tools.
 
6
"""
 
7
 
 
8
# official name, upper/lowercase allowed, no spaces
 
9
DISPLAY_NAME = 'smart-table'
 
10
 
 
11
# name used for PyPi
 
12
PACKAGE_NAME = 'XStatic-%s' % DISPLAY_NAME
 
13
 
 
14
NAME = __name__.split('.')[-1] # package name (e.g. 'foo' or 'foo_bar')
 
15
                               # please use a all-lowercase valid python
 
16
                               # package name
 
17
 
 
18
VERSION = '1.4.5' # version of the packaged files, please use the upstream
 
19
                  # version number
 
20
BUILD = '3' # 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
 
23
 
 
24
DESCRIPTION = "%s %s (XStatic packaging standard)" % (DISPLAY_NAME, VERSION)
 
25
 
 
26
PLATFORMS = 'any'
 
27
CLASSIFIERS = []
 
28
KEYWORDS = 'smart-table angular table angular_smart_table xstatic'
 
29
 
 
30
# XStatic-* package maintainer:
 
31
MAINTAINER = 'Richard Jones'
 
32
MAINTAINER_EMAIL = 'r1chardj0n3s@gmail.com'
 
33
 
 
34
# this refers to the project homepage of the stuff we packaged:
 
35
HOMEPAGE = 'https://github.com/lorenzofox3/Smart-Table'
 
36
 
 
37
# this refers to all files:
 
38
LICENSE = '(same as %s)' % DISPLAY_NAME
 
39
 
 
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
 
44
 
 
45
# location of the Javascript file that's the entry point for this package, if
 
46
# one exists, relative to BASE_DIR
 
47
MAIN='smart-table.min.js'
 
48
 
 
49
LOCATIONS = {
 
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.
 
57
    
 
58
}