Commit Graph

21 Commits

Author SHA1 Message Date
Ryan Volz 406c969bee Move NSIS patching to rerender and build from locked environment. 2023-07-27 18:55:32 -04:00
Ryan Volz 9dbdabf5da Make rerender compatible with conda-lock>=1.3 2022-12-13 12:41:29 -05:00
Ryan Volz a3ad5eb2a1 Add strict channel priority to default conda config. 2022-11-10 14:38:40 -05:00
Ryan Volz 10fe57a9b9 Fix rerender so pkgs with version specified are included in locked env. 2022-04-15 09:34:04 -04:00
Ryan Volz caef786c50 Only include specifically-requested packages in radioconda metapackage.
Including the fully solved list of packages is fragile to packages
getting marked broken or having their metadata rewritten, making the
radioconda metapackage uninstallable. This doesn't completely solve that
(nothing really can), but it does make the metapackage still fulfill its
intended purpose while hopefully remaining installable more often.
2022-03-01 00:11:33 -05:00
Ryan Volz d4224406b8 Patch NSIS installer script on Windows.
1. Never clear the full pkg dir
2. Delete environment variables set in registry by PothosSDR
2022-02-24 14:55:59 -05:00
Ryan Volz 35aacbb9b7 Write overridden env vars to Windows environment yaml file. 2022-02-07 19:49:51 -05:00
Ryan Volz 25c1e2787e Modify conda env vars in Windows post-install script.
This initializes the environment with the following environment
variables set to empty, so that they are cleared when the environment is
activated and interference from other installations (e.g. PothosSDR) is
avoided:

GR_PREFIX
GRC_BLOCKS_PATH
UHD_PKG_PATH
VOLK_PREFIX
2022-02-07 18:15:39 -05:00
Ryan Volz fab5cc4ed7 Update create_lockfile_from_spec call for latest conda-lock compat. 2021-12-12 01:03:58 -05:00
Ryan Volz 40f8d01c88 Put installer-only packages in a package spec yaml.
This also moves the radioconda_console_shortcut to the installer-only
package list.
2021-07-23 16:05:10 -04:00
Ryan Volz 422105b6ab Don't "initialize by default" on Windows. 2021-07-23 15:35:43 -04:00
Ryan Volz 3e3da4374e Switch to explicit lockfile and build metapackage from an env yaml. 2021-05-21 16:30:46 -04:00
Ryan Volz 4d356c3950 Add script to build an environment metapackage. 2021-05-21 11:04:05 -04:00
Ryan Volz 5553635a29 Separate env packages and installer-only (base) packages.
This makes the rendered lock files more useful for users (they won't
install conda/mamba in a non-base environment) and will allow for the
creation of a metapackage for each release.
2021-05-20 20:27:26 -04:00
Ryan Volz 73b77ae44d Try to fix prefix in post-install script for OSX pkg installer.
The pkg installer does not have any environment variables (like $PREFIX)
defined, but by inspection the other scripts that it executes set
the PREFIX as $2/{installer_name}. So we do that when $PREFIX is not
defined, which should cover all of the installers.
2021-05-19 16:17:59 -04:00
Ryan Volz 41c8754126 Add newlines to post_install scripts. 2021-05-19 15:26:53 -04:00
Ryan Volz 8cf14767a8 Add "-v"/"--version" argument to set the installer version string. 2021-04-16 15:44:52 -04:00
Ryan Volz e3c7f83302 Output full environment to lock files, not just the specified packages. 2021-04-08 18:19:36 -04:00
Ryan Volz 95f42f3787 Add lock files to rendered output.
This will make it possible to easily reproduce a particular release
version without having to download the installer.
2021-03-22 18:47:19 -04:00
Ryan Volz a22ed08f7f Add Github action to build radioconda. 2021-03-12 11:42:12 -05:00
Ryan Volz d01cf91e82 Initial radioconda env file and render/build scripts. 2021-03-10 18:17:13 -05:00