slice2py1
The slice to python compiler.
Usage
slice2py [options]
[files]
Overview
slice2py compiles Slice files to Python. The macro __SLICE2PY__ is defined during this compilation.
Full documentation for slice2py is available online at:
https://doc.zeroc.com/ice/3.7/language-mappings/python-mapping/client-side-slice-to-python-mapping/code-generation-in-python
Options
-
-h, --help -
Displays a help message.
-
-v, --version -
Displays the compiler version.
-
-DNAME -
Defines the preprocessor symbol NAME.
-
-DNAME=DEF -
Defines the preprocessor symbol NAME with the value DEF.
-
-UNAME -
Undefines the preprocessor symbol NAME.
-
-IDIR -
Add the directory DIR to the search path for #include directives.
-
-E -
Print the preprocessor output on stdout.
-
--output-dir DIR -
Place the generated files into directory DIR.
-
-d, --debug -
Print debug information showing the operation of the Slice parser.
-
--depend -
Print dependency information to standard output by default, or to the file specified by the --depend-file option. No code is generated when this option is specified.
-
--depend-xml -
Print dependency information in XML format to standard output by default, or to the file specified by the --depend-file option. No code is generated when this option is specified.
-
--depend-file FILE -
Directs dependency information to the specified file. The output format depends on whether --depend or --depend-xml is also specified.
-
--all -
Generate code for all Slice definitions, including those from included files.
-
--checksum CLASS -
Generate checksums for Slice definitions.
-
--prefix PREFIX -
Use PREFIX as the prefix for generated file names.
Releases
10 releases since Debian 4.0 (Etch); the text changed 7 times.
--all since Debian 9 (Stretch);
--checksum since Debian 9 (Stretch);
--debug since Debian 9 (Stretch);
--depend since Debian 10 (Buster);
--depend-file since Debian 10 (Buster);
--depend-xml since Debian 10 (Buster);
--help since Debian 9 (Stretch);
--output-dir since Debian 9 (Stretch);
--prefix since Debian 9 (Stretch);
--version since Debian 9 (Stretch);
-DNAME since Debian 9 (Stretch);
-E since Debian 9 (Stretch);
-IDIR since Debian 9 (Stretch);
-UNAME since Debian 9 (Stretch);
-d since Debian 9 (Stretch);
-h since Debian 9 (Stretch);
-v since Debian 9 (Stretch).
--ice until Debian 9 (Stretch);
--no-package until Debian 5.0 (Lenny);
--underscore until Debian 9 (Stretch).