Skip to content

Dependency scripts to tools#8

Merged
isabels merged 26 commits intomasterfrom
dependency_scripts_to_tools
Apr 14, 2026
Merged

Dependency scripts to tools#8
isabels merged 26 commits intomasterfrom
dependency_scripts_to_tools

Conversation

@isabels
Copy link
Copy Markdown
Contributor

@isabels isabels commented Mar 26, 2026

Working on converting the scripts for fixing dependencies in mac and windows installers to real scons tools, mostly to be able to more easily share functionality between deploying mac apps and mac commandline executables.
@garyjg I think I'm done with the installbuilder tool part of this, if you have any feedback while I work on the mac deploy part of this.

Comment thread eol_scons/tools/installbuilder.py
isabels added 3 commits March 27, 2026 19:13
…ate bundle structure, macdeployqt, fix paths, codesign)
… the working directory changes, so update paths to source and target to be relative to that.
Comment thread eol_scons/tools/osxqtapp.py Outdated
Comment thread eol_scons/tools/osxapp.py Outdated
isabels and others added 7 commits April 9, 2026 11:26
the installmode module handles a command-line argument which can be set
to mock or all.  the installbuilder and osxapp tools have been
instrumented to mock installer build steps, so scons builder nodes for
multiple platforms can be debugged from one platform, even when
installer utilities are missing.

prefer inline string interpolation to concatenation, for readability.

prefer SCons Dir and File path operations to converting back and forth
to str and using os.path.

add WindowsDependencies.xml as a clean target of the installer builder.

replace intermediate builders RunInstallBuilder, CreateOsxCmdlineApp,
and CreateOsxQtApp with Command builders, since the custom action
function can be passed to a Command builder same as the custom builders.

call functions like Execute, Dir, and File as Environment methods, to
make sure they are executed with the correct context and so they do not
need to be imported.

use a context when writing plistinfo file so it will be closed
@garyjg
Copy link
Copy Markdown
Member

garyjg commented Apr 13, 2026

I finally reached a stopping point with debugging installer builds on multiple platforms from Linux, and I tried to simplify the code along the way, but of course my testing is limited. If you notice a problem, let me know and I'll fix it. I don't want to cost you extra time debugging something I broke.

@isabels isabels marked this pull request as ready for review April 14, 2026 01:47
@isabels
Copy link
Copy Markdown
Contributor Author

isabels commented Apr 14, 2026

@janineA I've made a bunch of updates to the installbuilder and osxapp tools to bring them up to date with what the current process is. I wanted to ping you here so you have a chance to update aeros and ric to use the new options.

@janineA
Copy link
Copy Markdown
Contributor

janineA commented Apr 14, 2026

@isabels Thank you. (-:

@isabels isabels merged commit 2dbbbf9 into master Apr 14, 2026
@isabels isabels deleted the dependency_scripts_to_tools branch April 14, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants