Replies: 1 comment 1 reply
-
Could you clarify this a bit? What kind of packages? There's an external project which adds some support for Python packages, but more for construction than for installation (https://github.com/dholth/enscons). For systems that have "package managers" I'd say they already do this - they install only if necessary, unless you give extra arguments to force the issue. Windows doesn't come with the same kind of package manager, NuGet provides some of that capability, and Chocolatey adds more infrastructure on top of it, so you can get the same kind of effect. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I like idempotent nature of SCons for building files. If source files are changed then rebuild target files, but if source files are intact, do nothing.
I see how the same principle can be applied to installing packages. If some package version is not installed - find the best way and install it, but if the package is already installed, do nothing.
Can SCons be used for this?
Beta Was this translation helpful? Give feedback.
All reactions