summaryrefslogtreecommitdiff
path: root/python/config/slice2py.py
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2015-04-20 11:15:04 -0230
committerMatthew Newhook <matthew@zeroc.com>2015-04-20 11:15:04 -0230
commitbf0b70be54239f969c58ea468dd45fba712dad4b (patch)
tree006dc77387836c2f84a01b4538f7d621ab4739c8 /python/config/slice2py.py
parentFixed IceSSL OpenSSL implementation to provide and use the verified certifica... (diff)
downloadice-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-xpython/config/slice2py.py21
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()