features for voms authentication
[snf-occi] / snfOCCI / __init__.py
1
2 """
3 This it the entry point for paste deploy .
4
5 Paste config file needs to point to egg:<package name>:<entrypoint name>:
6
7 use = egg:snfOCCI#sample_app
8
9 sample_app entry point is defined in setup.py:
10
11 entry_points='''
12 [paste.app_factory]
13 sample_app = snf_voms:main
14 ''',
15
16 which point to this function call (<module name>:function).
17 """
18
19 # W0613:unused args
20 # pylint: disable=W0613
21
22 from snfOCCI import APIserver
23
24
25 #noinspection PyUnusedLocal
26 def main(global_config, **settings):
27     """
28 This is the entry point for paste into the OCCI OS world.
29 """
30     return APIserver.MyAPP()