-
Notifications
You must be signed in to change notification settings - Fork 3
common code for Waf-based OpenHome projects
License
openhome/ohWafHelpers
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
######################################################################## ## ohWafHelpers ######################################################################## This collection of Python modules is for optional use by projects that employ Waf as their build system. It contains common classes and functions in an effort to minimise source code duplication. Any project wishing to use this functionality needs to declare a dependency on ohWafHelpers and resolve it by running the "go fetch" utility, e.g. in projectdata/dependencies.json: { "name": "ohWafHelpers", "type": "openhome", "platform-specific": false, "version": "0.0.17", "archive-filename": "${name}-${version}.tar.gz" } The project needs to add the following Python snipppet near the top of its top-level wscript file: # Python system libraries, e.g. import glob # Waf libraries, e.g. import waflib # --8<---- import os.path, sys sys.path[0:0] = [os.path.join('dependencies', 'AnyPlatform', 'ohWafHelpers')] # ---->8-- # functionality factored out into ohWafHelper, e.g. from filetasks import gather_files, build_tree, copy_task
About
common code for Waf-based OpenHome projects
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published