Transform Generator without Anaconda

Affiliation
American Association of Variable Star Observers (AAVSO)
Thu, 07/04/2024 - 22:28

I'm working in Linux and prefer pip to Anaconda.  Below is the tool for everybody who shares my preference.  Make sure you have pip and venv installed Unpack it into the same folder where TG was unpacked, cd there, make sure that 'run.sh' is executable (chmod a+x run.sh), and run 'run.sh'.  It will create virtual environment, install dependencies, and start TG.

Update:  U'm not able to upload any file ('Browse' button is disabled), so just file content below:

run.sh:

#!/usr/bin/env bash

#

# Run AAVSO transform generator in virtual environment.

# Create virtual environment and install dependencies if needed.

# pip and venv are pre-requisites.

#

ACTIVATE_PATH=./.venv/bin/activate

TG_EXE=./TG_V6.9a.pyw

if [ ! -f ${ACTIVATE_PATH} ]; then

  python -m venv ./.venv

fi

source ${ACTIVATE_PATH}

pip install -r ./requirements.txt

python ${TG_EXE}

requirements.txt

matplotlib

tk

numpy

scipy