[setup] add optional modules

This commit is contained in:
Fabien Castan 2020-09-09 19:41:08 +02:00
parent 6df6275a95
commit 1813de30bc

View file

@ -46,6 +46,10 @@ build_exe_options = {
],
"include_files": ["CHANGES.md", "COPYING.md", "LICENSE-MPL2.md", "README.md"]
}
if os.path.isdir("tractor"):
build_exe_options["packages"].append("tractor")
if os.path.isdir("simpleFarm"):
build_exe_options["packages"].append("simpleFarm")
if platform.system() == PlatformExecutable.Linux:
# include required system libs