Commit Graph

14 Commits

Author SHA1 Message Date
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