Skip to content

Commit 706148c

Browse files
Merge pull request #57 from jonathanrocher/enh/improve_installation_instructions
Improve installation instructions
2 parents b8ce46f + e6e42d6 commit 706148c

1 file changed

Lines changed: 22 additions & 5 deletions

File tree

README.md

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,38 @@ git clone git@github.com:jonathanrocher/ets_tutorial.git
3333

3434
### EDM users (recommended)
3535
First, download and install EDM from https://www.enthought.com/edm/. Then,
36-
open a `Terminal`/`Powershell`/`Cmd Prompt`/ and navigate to the folder
37-
where the repo was cloned. Enter the following command to create a
38-
dedicated Python environment and install all dependencies in it:
36+
open a `Terminal`/`Powershell`/`Cmd Prompt`/ and create a lighweight bootstrap environment to run the installation commands.
3937
```commandline
40-
python ci build
38+
edm envs create bootstrap
39+
edm install --environment bootstrap click
40+
```
41+
Next, enter the following commands to create a
42+
dedicated Python environment called `ets_tutorial` and install all dependencies in it:
43+
```commandline
44+
edm run -e bootstrap -- python ci build --environment ets_tutorial
45+
```
46+
All application related `python` commands are assumed to run in this
47+
environment. You can activate the environment with:
48+
```commandline
49+
edm shell -e ets_tutorial
4150
```
4251

4352
### Conda users
44-
[TODO]
53+
Create a new conda environment called `ets_tutorial` and install local
54+
dependencies with the following commands:
55+
```commandline
56+
conda create -n ets_tutorial python=3.6 pandas matplotlib traits traitsui scikit-image pillow pyqt ipython importlib_resources importlib_metadata
57+
conda activate ets_tutorial
58+
python setup.py install
59+
```
60+
Activate the new environment with `conda activate ets_tutorial`.
4561

4662
### pip users
4763
Assuming a Python environment is created and activated on your machine, for
4864
example from https://www.python.org/,
4965
```commandline
5066
pip install pandas matplotlib traits traitsui scikits-image pillow pyqt5 ipython
67+
python setup.py install
5168
```
5269

5370
## Getting help

0 commit comments

Comments
 (0)