Setprogramoptions

Latest version: v0.5.0.3

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.2.0

Added
- `common.py` - moved some free-functions to this.
- Improved *variable* processing. Variables should now be encoded in our pseudo-langauge
that has a syntax like this: `${VARNAME|VARTYPE}`.
- `ENV` - is the only 'type' that is known to `SetProgramOptions`
- `CMAKE` - is known to `SetProgramOptionsCMake`, which denotes a "CMake" variable
which would be part of the internal state. This mostly makes sense when generating
CMake Fragments, but we also attempt to track variables that are set when generating
BASH output and will perform expansions when a prevoulsly set value is known.
- A `ValueError` will be raised if "BASH" output generation is attempted with a "CMAKE"
var type still embedded in the .ini file.
Changed
- _values_ containing spaces in them will have double quotes (`"`) added to them.
Internal
- Modified `_gen_option_entry` to detect values with spaces in them and add quotes (`"`) to the string.

0.1.0

Added
- Initial version release. From now on changes should be noted in the
CHANGELOG.

Page 2 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.