blob: 1557cb74cd3a67ab93c31bee4d1eb757dc9431e7 [file] [log] [blame]
Adrià Vilanova Martínezf19ea432024-01-23 20:20:52 +01001#!/usr/bin/python
2# Copyright 2017 Google Inc. All Rights Reserved.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16r"""Wrapper script to set up import paths for endpointscfg.
17
18The actual implementation is in _endpointscfg_impl, but we have to set
19up import paths properly before we can import that module.
20
21See the docstring for endpoints._endpointscfg_impl for more
22information about this script's capabilities.
23"""
24
25import sys
26
27import _endpointscfg_setup # pylint: disable=unused-import
28from endpoints._endpointscfg_impl import main
29
30if __name__ == '__main__':
31 main(sys.argv)