-
Notifications
You must be signed in to change notification settings - Fork 1
build python
Renaud Guillard edited this page Jun 3, 2013
·
6 revisions
...
- Author
- Renaud Guillard
- Version
- 1.0
build-python [[-S] -x <path>] [([-be] -i <...> | -m <...>) -c <...>] [-o <path>] [--ns-xml-path <path> --ns-xml-path-relative] [--help]
Input
-x, --xml-description: Program description file
If the program description file is provided, the xml file will be validated
before any XSLT processing
-S, --skip-validation, --no-validation: Skip XML Schema validations
The default behavior of the program is to validate the given xml-based
file(s) against its/their xml schema (http://xsd.nore.fr/program etc.).
This option will disable schema validations
Generation options
Generation mode
Select what to generate
-b, --base: Generate ns-xml parser base module only
-i, --info: Generate program info module
The given argument must be the name of the the Parser base module (ex:
'Parser')
-e, --embed: Generate parser base and program info modules in a single file
-m, --merge: Generate and merge with program script
Generate parser base and program info modules and merge the result with
the given python script
-c, --classname: Program info class name
Output
-o, --output: Generated file path
ns-xml source path options
--ns-xml-path: ns-xml source path
Location of the ns folder of ns-xml package
--ns-xml-path-relative: ns source path is relative this program path
--help: Display program usage
Copyright © 2012 by Renaud Guillard Distributed under the terms of the MIT License, see LICENSE