This repository contains python scripts and Pyinstaller spec files that are used to create executable files. These executables are distributes as libraries of danse software.
To create MiniAn executable, follow the steps:
-
Create new environment, and install MiniAn and PyInstaller by running the following in Anaconda prompt:
conda create -n minian_pyinstaller -c bioconda -c conda-forge python=3.8 minian=1.2.1 h5py pyinstaller pefile=2023.2.7 --yesconda activate minian_pyinstaller⚠️ It may take some time to install.For more information about the library, please read MiniAn docs.
-
Clone this repository. In Anaconda prompt, navigate to the directory where the repository was cloned.
-
Package the code into an executable by using pyinstaller spec file and running the following in Anaconda prompt:
cd Deploypyinstaller pack_minian_run.spec
To create CaImAn executable, follow the steps:
-
Create new environment, and install CaImAn and PyInstaller by running the following in Anaconda prompt:
conda create -n caiman_pyinstaller -c conda-forge python=3.10.8 caiman=1.11.4 pyinstaller pefile=2023.2.7 ipyparallel=8.8.0 --yesconda activate caiman_pyinstaller⚠️ It may take some time to install.For more information about the library, please read CaImAn docs.
-
Clone this repository. In Anaconda prompt, navigate to the directory where the repository was cloned.
-
Use CaImAn manager to finish the istallation by running in Anaconda prompt:
caimanmanager installThis would add 'caiman_data' folder into your user folder 'C:\Users\your_user_name'. Copy this this folder into your cloned 'CaImAn' folder.
-
Package the code into an executable by using pyinstaller spec file and running the following in Anaconda prompt:
cd Deploypyinstaller pack_caiman_run.spec
To create Suite2p executable, follow the steps:
-
Create new environment, and install CaImAn and PyInstaller by running the following lines in Anaconda prompt:
conda create --name suite2p_pyinstaller python=3.9 pyinstaller h5py --yesconda activate suite2p_pyinstallerpython -m pip install suite2pFor more information about the library, please read Suite2p docs.
-
Clone this repository. In Anaconda prompt, navigate to the directory where the repository was cloned.
-
Package the code into an executable by using pyinstaller spec file and running the following in Anaconda prompt:
cd Deploypyinstaller pack_suite2p_run.spec
-
Create new environment, and install DeepLabCut and PyInstaller by running the following in Anaconda prompt:
conda create -n deeplabcut_pyinstaller -c conda-forge python=3.10 pytables==3.8.0 pyinstaller h5py --yesconda activate deeplabcut_pyinstallerpip install --upgrade --index-url https://download.pytorch.org/whl/cu128 torch==2.8.0+cu128 torchvision==0.23.0+cu128Note: set your CUDA version in the prompt above
pip install "deeplabcut==3.0.0rc8"For more information about the library, please read DeepLabCut docs.
-
Clone this repository. In Anaconda prompt, navigate to the directory where the repository was cloned.
-
Package the code into an executable by using pyinstaller spec file and running the following in Anaconda prompt:
cd Deploypyinstaller pack_deeplabcut_run.spec