Skip to content

Commit 216b121

Browse files
committed
Added environment.yml for conda installation. Updated README with instructions
1 parent 3e4aa03 commit 216b121

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,20 @@ Note that h5py generally needs to be installed in this way:
5050
$ python3 -m pip install --no-binary=h5py h5py
5151
```
5252

53+
#### Conda
54+
55+
Alternatively, if you prefer working with conda environments, you can install the required dependencies with the following command:
56+
57+
```
58+
conda env create -f environment.yml
59+
```
60+
61+
Then, simply activate the environment with:
62+
63+
```
64+
conda activate blimpy
65+
```
66+
5367
### Command line utilities
5468

5569
After installation, the following command will display the metadata (header) values and some information about the data matrix:

environment.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: blimpy
2+
channels:
3+
- conda-forge
4+
- defaults
5+
dependencies:
6+
- astropy
7+
- blimpy
8+
- h5py
9+
- hdf5plugin
10+
- matplotlib
11+
- numpy>=1.19
12+
- pandas
13+
- pillow
14+
- psutil
15+
- pyparsing==2.4.7
16+
- scipy
17+
- setuptools
18+
- six

0 commit comments

Comments
 (0)