Skip to content

Commit

Permalink
removed sys.exit if micromamba is used for .exe
Browse files Browse the repository at this point in the history
  • Loading branch information
huche6 committed Dec 14, 2023
1 parent fec1f98 commit fc7aae8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions constructor/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@ def main_build(dir_path, output_dir='.', platform=cc_platform,

if platform != cc_platform and 'pkg' in itypes and not cc_platform.startswith('osx-'):
sys.exit("Error: cannot construct a macOS 'pkg' installer on '%s'" % cc_platform)
if osname == "win" and "micromamba" in os.path.basename(info['_conda_exe']):
# TODO: Remove when shortcut creation is implemented on micromamba
sys.exit("Error: micromamba is not supported on Windows installers.")


logger.debug('conda packages download: %s', info['_download_dir'])

Expand Down

0 comments on commit fc7aae8

Please sign in to comment.