casa6_install package

Submodules

casa6_install.casa6_install module

Main module.

casa6_install.casa6_install.casa6_install(whl_path, select='core', user=True, upgrade=True, nodeps=False)[source]

Install casa6 packages with pip.

casa6_install.casa6_install.casatools_repack(whlname, abi=None, workdir='/tmp')[source]

repack a Py37 casatools whl for Py37/38

Usage:

casatools_repack(casatools-6.1.0.79-cp36-cp36m-macosx_10_15_x86_64.whl,abi=’cp38’) casatools_repack(casatools-6.1.0.79-cp36-cp36m-macosx_10_15_x86_64.whl,abi=’cp37m’)

casa6_install.casa6_install.download_casatools(version='latest', workdir='/tmp', pyver='36')[source]

Download py36 casatools whl.

casa6_install.casa6_install.main()[source]

Console script function for casa6_install.

casa6_install.casa6_install.run_subprocess(cmd)[source]

Run a subprocess with realtime output.

casa6_install.casa6_install.whl_pack(directory, dest_dir, build_number)[source]

Repack a previously unpacked wheel directory into a new wheel file.

modified from https://github.com/pypa/wheel/blob/master/src/wheel/cli/pack.py with the output whl path returned

Repack a previously unpacked wheel directory into a new wheel file. The .dist-info/WHEEL file must contain one or more tags so that the target wheel file name can be determined. :param directory: The unpacked wheel directory :param dest_dir: Destination directory (defaults to the current directory)

Module contents

Top-level package for casa6-install.