From cf1254cb87d99f2c4af21528bf190aed8ab700a4 Mon Sep 17 00:00:00 2001 From: Matthew Newhook Date: Wed, 22 Apr 2015 16:35:33 -0230 Subject: ICE-6455 - remove slice2py and slice2rb C++ exe Renamed ruby/config/slice2rb.rb to ruby/config/s2rb.rb Renamed python/config/slice2py.py to python/config/s2py.py Moved slice2rb and slice2py.py from dist-utils into the scripts directory for python and ruby. --- python/scripts/slice2py.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 python/scripts/slice2py.py (limited to 'python/scripts/slice2py.py') diff --git a/python/scripts/slice2py.py b/python/scripts/slice2py.py new file mode 100755 index 00000000000..7f2aca37164 --- /dev/null +++ b/python/scripts/slice2py.py @@ -0,0 +1,18 @@ +#!/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, Ice, IcePy +def main(): + sliceDir = Ice.getSliceDir() + # Automatically add the slice dir. + if not sliceDir is None: + sys.argv.append('-I' + sliceDir) + val = IcePy.compile(sys.argv) + sys.exit(int(val)) -- cgit v1.2.3