diff options
Diffstat (limited to 'python/config/slice2py.py')
-rwxr-xr-x | python/config/slice2py.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/python/config/slice2py.py b/python/config/slice2py.py new file mode 100755 index 00000000000..76f22c34933 --- /dev/null +++ b/python/config/slice2py.py @@ -0,0 +1,21 @@ +#!/usr/bin/env python +# ********************************************************************** +# +# Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +import sys, os +sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), "..", "python")) +import IcePy + + +def main(): + val = IcePy.compile(sys.argv) + sys.exit(int(val)) + +if __name__ == '__main__': + main() |