diff options
author | Matthew Newhook <matthew@zeroc.com> | 2015-04-20 11:15:04 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2015-04-20 11:15:04 -0230 |
commit | bf0b70be54239f969c58ea468dd45fba712dad4b (patch) | |
tree | 006dc77387836c2f84a01b4538f7d621ab4739c8 /python/config/slice2py.py | |
parent | Fixed IceSSL OpenSSL implementation to provide and use the verified certifica... (diff) | |
download | ice-bf0b70be54239f969c58ea468dd45fba712dad4b.tar.bz2 ice-bf0b70be54239f969c58ea468dd45fba712dad4b.tar.xz ice-bf0b70be54239f969c58ea468dd45fba712dad4b.zip |
ICE-6455 - remove slice2py and slice2rb C++ exe
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() |