Skip to content

Commit

Permalink
dev env for notebooks (#9)
Browse files Browse the repository at this point in the history
* Update CONTRIBUTING.md

* latest awkward1 #8

> Whatever motivated the restriction to 0.2.3 is probably fixed by now or would be an easy fix, so you should switch to the latest version at your convenience.

* Update environment.yml

* python3 to python

* Update environment.yml

* Update environment.yml

* Update environment.yml

* Update CONTRIBUTING.md
  • Loading branch information
LovelyBuggies authored Mar 29, 2020
1 parent 36dc244 commit 11317f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ You should *always* use a virtual environment when developing software. Setup:
python3 -m venv .env
. .env/bin/activate
pip install -e .[dev,test]
python -m ipykernel install --user --name vector # For notebooks
```

If you use conda environments and want to compare against ROOT:
Expand All @@ -15,6 +16,7 @@ If you use conda environments and want to compare against ROOT:
conda env create
conda activate vector
conda config --env --add channels conda-forge # Optional
python -m ipykernel install --user --name vector # For notebooks
```

You can update the environment with `conda env update`.
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ dependencies:
- uproot >=3.11
- numba >=0.46
- pip:
- "awkward1>=0.2.3,!=0.2.4"
- "awkward1>=0.2.5"
- "scikit-hep-testdata>=0.2.0"
- -e .

0 comments on commit 11317f8

Please sign in to comment.