##// END OF EJS Templates
setuptools: versioning and licensing updated
ergo -
r29:f648fb29 0.9.0
parent child Browse files
Show More
@@ -0,0 +1,1 b''
1 0.9.0
@@ -19,13 +19,29 b' def parse_req(req):'
19
19
20 requires = [_f for _f in map(parse_req, REQUIREMENTS) if _f]
20 requires = [_f for _f in map(parse_req, REQUIREMENTS) if _f]
21
21
22 if sys.version_info[:3] < (2, 5, 0):
22
23 requires.append('pysqlite')
23 def _get_meta_var(name, data, callback_handler=None):
24 import re
25 matches = re.compile(r'(?:%s)\s*=\s*(.*)' % name).search(data)
26 if matches:
27 if not callable(callback_handler):
28 callback_handler = lambda v: v
29
30 return callback_handler(eval(matches.groups()[0]))
31
32 with open(os.path.join(here, 'src', 'appenlight', '__init__.py'), 'r') as _meta:
33 _metadata = _meta.read()
34
35 with open(os.path.join('src', 'appenlight', 'VERSION')) as _meta_version:
36 __version__ = _meta_version.read().strip()
37
38 __license__ = _get_meta_var('__license__', _metadata)
39 __author__ = _get_meta_var('__author__', _metadata)
40 __url__ = _get_meta_var('__url__', _metadata)
24
41
25 found_packages = find_packages('src')
42 found_packages = find_packages('src')
26 found_packages.append('appenlight.migrations.versions')
43 found_packages.append('appenlight.migrations.versions')
27 setup(name='appenlight',
44 setup(name='appenlight',
28 version='0.1',
29 description='appenlight',
45 description='appenlight',
30 long_description=README + '\n\n' + CHANGES,
46 long_description=README + '\n\n' + CHANGES,
31 classifiers=[
47 classifiers=[
@@ -34,9 +50,10 b" setup(name='appenlight',"
34 "Topic :: Internet :: WWW/HTTP",
50 "Topic :: Internet :: WWW/HTTP",
35 "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
51 "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
36 ],
52 ],
37 author='',
53 version=__version__,
38 author_email='',
54 license=__license__,
39 url='',
55 author=__author__,
56 url=__url__,
40 keywords='web wsgi bfg pylons pyramid',
57 keywords='web wsgi bfg pylons pyramid',
41 package_dir={'': 'src'},
58 package_dir={'': 'src'},
42 packages=found_packages,
59 packages=found_packages,
@@ -48,6 +48,10 b' from appenlight.lib import cache_regions'
48 from appenlight.lib.ext_json import json
48 from appenlight.lib.ext_json import json
49 from appenlight.security import groupfinder, AuthTokenAuthenticationPolicy
49 from appenlight.security import groupfinder, AuthTokenAuthenticationPolicy
50
50
51 __license__ = 'AGPLv3, and Commercial License'
52 __author__ = 'RhodeCode GmbH'
53 __url__ = 'http://rhodecode.com'
54
51 json_renderer = JSON(serializer=json.dumps, indent=4)
55 json_renderer = JSON(serializer=json.dumps, indent=4)
52
56
53 log = logging.getLogger(__name__)
57 log = logging.getLogger(__name__)
@@ -10994,6 +10994,7 b" angular.module('appenlight.directives.appVersion', [])."
10994 elm.text(version);
10994 elm.text(version);
10995 };
10995 };
10996 }])
10996 }])
10997
10997 ;// # Copyright (C) 2010-2016 RhodeCode GmbH
10998 ;// # Copyright (C) 2010-2016 RhodeCode GmbH
10998 // #
10999 // #
10999 // # This program is free software: you can redistribute it and/or modify
11000 // # This program is free software: you can redistribute it and/or modify
@@ -11158,6 +11159,7 b" directive('confirmValidate', [function () {"
11158 }
11159 }
11159 }
11160 }
11160 }])
11161 }])
11162
11161 ;// # Copyright (C) 2010-2016 RhodeCode GmbH
11163 ;// # Copyright (C) 2010-2016 RhodeCode GmbH
11162 // #
11164 // #
11163 // # This program is free software: you can redistribute it and/or modify
11165 // # This program is free software: you can redistribute it and/or modify
@@ -11184,6 +11186,7 b" angular.module('appenlight.directives.focus', []).directive('focus', function ()"
11184 });
11186 });
11185 }
11187 }
11186 });
11188 });
11189
11187 ;// # Copyright (C) 2010-2016 RhodeCode GmbH
11190 ;// # Copyright (C) 2010-2016 RhodeCode GmbH
11188 // #
11191 // #
11189 // # This program is free software: you can redistribute it and/or modify
11192 // # This program is free software: you can redistribute it and/or modify
@@ -11284,6 +11287,7 b" directive('isoToRelativeTime', function () {"
11284 }
11287 }
11285 }
11288 }
11286 })
11289 })
11290
11287 ;// # Copyright (C) 2010-2016 RhodeCode GmbH
11291 ;// # Copyright (C) 2010-2016 RhodeCode GmbH
11288 // #
11292 // #
11289 // # This program is free software: you can redistribute it and/or modify
11293 // # This program is free software: you can redistribute it and/or modify
@@ -11981,6 +11985,7 b" directive('smallReportGroupList', [function () {"
11981 templateUrl: 'templates/reports/small_report_group_list.html'
11985 templateUrl: 'templates/reports/small_report_group_list.html'
11982 }
11986 }
11983 }])
11987 }])
11988
11984 ;// # Copyright (C) 2010-2016 RhodeCode GmbH
11989 ;// # Copyright (C) 2010-2016 RhodeCode GmbH
11985 // #
11990 // #
11986 // # This program is free software: you can redistribute it and/or modify
11991 // # This program is free software: you can redistribute it and/or modify
@@ -12011,6 +12016,7 b" angular.module('appenlight.directives.smallReportList', [])."
12011 templateUrl: 'templates/reports/small_report_list.html'
12016 templateUrl: 'templates/reports/small_report_list.html'
12012 }
12017 }
12013 }])
12018 }])
12019
12014 ;// # Copyright (C) 2010-2016 RhodeCode GmbH
12020 ;// # Copyright (C) 2010-2016 RhodeCode GmbH
12015 // #
12021 // #
12016 // # This program is free software: you can redistribute it and/or modify
12022 // # This program is free software: you can redistribute it and/or modify
@@ -12841,6 +12847,7 b" angular.module('appenlight.services.UUIDProvider', []).factory('UUIDProvider', f"
12841 };
12847 };
12842 return provider;
12848 return provider;
12843 });
12849 });
12850
12844 ;// # Copyright (C) 2010-2016 RhodeCode GmbH
12851 ;// # Copyright (C) 2010-2016 RhodeCode GmbH
12845 // #
12852 // #
12846 // # This program is free software: you can redistribute it and/or modify
12853 // # This program is free software: you can redistribute it and/or modify
General Comments 0
You need to be logged in to leave comments. Login now