https://github.com/openvicproject/scripts
https://github.com/openvicproject/scripts
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/openvicproject/scripts
- Owner: OpenVicProject
- License: mit
- Created: 2023-09-22T22:09:47.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-02-25T10:56:40.000Z (4 months ago)
- Last Synced: 2025-02-25T11:36:52.529Z (4 months ago)
- Language: Python
- Size: 37.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenVicProject/scripts
Common Scons scripts repo for the [OpenVicProject repos](https://github.com/OpenVicProject)## Required
* [scons](https://scons.org/)## Usage
1. Call `env.SetupOptions()` and use the return value to add your options:
```py
opts = env.SetupOptions()
opts.Add(BoolVariable("example", "Is an example", false))
```
2. When options are finished call `env.FinalizeOptions()` then setup your scons script using env.