Skip to content

DevNotes_CondaDevEnviroment

Wojciech Potrzebowski edited this page Jun 15, 2022 · 29 revisions

Example for setting up developers enviroment using pip from conda envioremnt.
Note 1: This assumes that you have anaconda and git installed
Note 3: All commands should be executed from terminal (Terminal on OSX and Linux and Anaconda Prompt on Windows)

Setup conda enviroment:

conda create -n sasview_dev python=3.9

Activate enviroment

conda activate sasview_dev

Copy contents of the file and save it as requirements.txt. Then change to the folder you saved the file in.

https://github.com/SasView/sasview/blob/env_setup/build_tools/requirements.txt

Install dependencies:

pip install -r requirements.txt

Clone sasview and sasmodels repose

git clone https://github.com/SasView/sasview.git
git clone https://github.com/SasView/sasmodels.git

Install sasmodels and sasview

Go to sasmodels and sasview folders (separetly) and run:
python setup.py install

Clone this wiki locally