Update README.md

I've fixed a typo with the virtual environment creation and added a line to suggest you install the binary dependencies for Pillow and numpy/scipy.  We might want to mention the set up for the pi camera too.
This commit is contained in:
Richard Bowman 2018-11-27 17:15:48 +00:00
parent 7a58b4e95e
commit 0a23a6d026

View file

@ -4,8 +4,9 @@ OpenFlexure Microscope Software
# Installation # Installation
This module is currently in very early development, and is perhaps best installed in developer mode. This module is currently in very early development, and is perhaps best installed in developer mode.
- (Recommended) create a virtual environment - (Recommended) create a virtual environment
- In the openflexure-microscope-software directory, create a venv with `python3 venv env` - In the openflexure-microscope-software directory, create a venv with `python3 -m venv env`
- Activate with `source env/bin/activate` - Activate with `source env/bin/activate`
- Install dependencies with `sudo apt-get install libatlas-base-dev libjasper-dev libjpeg-dev`
- Install requirements with `pip install -r requirements.txt` - Install requirements with `pip install -r requirements.txt`
- Install module in developer mode by running `python3 setup.py develop` - Install module in developer mode by running `python3 setup.py develop`
- Installing in developer mode allows the module to be modified by editing files directly in the openflexure-microscope-software directory. - Installing in developer mode allows the module to be modified by editing files directly in the openflexure-microscope-software directory.