Skip to content

Commit

Permalink
Add git clone and use full flag names
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Jul 26, 2023
1 parent 2800128 commit 526cfbd
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions book/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,16 +134,23 @@ See our [installation docs](https://pyhf.readthedocs.io/en/v0.7.2/installation.h

### Dependencies for this tutorial

To get all the dependencies needed for this tutorial you can just install from the included `requirements.txt` in the top level `binder/` directory of [the source repository](https://github.com/pyhf/pyhf-tutorial)
To get all the dependencies needed for this tutorial first clone the repository locally

```
(pyhf-tutorial) $ python -m pip install -r binder/requirements.txt
(pyhf-tutorial) $ git clone https://github.com/pyhf/pyhf-tutorial.git
(pyhf-tutorial) $ cd pyhf-tutorial
```

then you can just install from the included `requirements.txt` in the top level `binder/` directory of [the source repository](https://github.com/pyhf/pyhf-tutorial)

```
(pyhf-tutorial) $ python -m pip install --upgrade --requirement binder/requirements.txt
```

If you want to also get the dependencies to build and explore the Jupyter Book form of the tutorial you can install them with

```
(pyhf-tutorial) $ python -m pip install -r book/requirements.txt
(pyhf-tutorial) $ python -m pip install --upgrade --requirement book/requirements.txt
```

### Citation
Expand Down

0 comments on commit 526cfbd

Please sign in to comment.