diff --git a/environment.yml b/environment.yml index 1a679f6..e3ea0d4 100644 --- a/environment.yml +++ b/environment.yml @@ -1,5 +1,5 @@ -name: PythonEnv5505v2 -prefix: ./envs/PythonEnv5505v2 # Custom output folder +name: pyenv5505 +prefix: ./envs/pyenv5505 # Custom output folder channels: - conda-forge - defaults @@ -11,6 +11,7 @@ dependencies: - matplotlib - plotly=5.24 - scipy + - sphinx - pip - pip: - h5py==3.10 diff --git a/setup_env.sh b/setup_env.sh index e207998..d5cb78e 100644 --- a/setup_env.sh +++ b/setup_env.sh @@ -1,7 +1,7 @@ #!/bin/bash # Define the name and location of the environment -ENV_NAME="PythonEnv5505" +ENV_NAME="pyenv5505" ENV_PATH="./envs/$ENV_NAME" # Define a custom output folder # Check if mamba is available and use it instead of conda for faster installation @@ -19,7 +19,7 @@ $CONDA_COMMAND create -y -p "$ENV_PATH" python=3.11 \ source activate "$ENV_PATH" || conda activate "$ENV_PATH" # Install pip packages in one go to avoid repeated initializations -pip install h5py==3.10 pybis==1.35 igor2 ipykernel +pip install h5py==3.10 pybis==1.35 igor2 ipykernel sphinx # Export the environment to a YAML file $CONDA_COMMAND env export --prefix "$ENV_PATH" > "$ENV_PATH/environment.yaml"