Skip to content

Commit 7d01812

Browse files
committed
move dependencies to environment.yml #297
1 parent d2b7991 commit 7d01812

File tree

3 files changed

+20
-17
lines changed

3 files changed

+20
-17
lines changed

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ For more instructions see the [Pull request checklist](#pull-request-checklist)
4747

4848
Always use a feature branch. It's good practice to never routinely work on the `main` branch of any repository.
4949
50-
1. Create a new environment using Python >=3.8, for example 3.11
50+
1. Create the environment from the `environment.yml` file.
5151
5252
```bash
53-
conda create --name CausalPy python=3.11
53+
mamba env create -f environment.yml
5454
```
5555
5656
Activate the environment.

environment.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: CausalPy
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- arviz>=0.14.0
6+
- graphviz
7+
- ipython!=8.7.0
8+
- matplotlib>=3.5.3
9+
- numpy<1.26.0
10+
- pandas
11+
- patsy
12+
- pymc>=5.0.0
13+
- scikit-learn>=1
14+
- scipy
15+
- seaborn>=0.11.2
16+
- statsmodels
17+
- xarray>=v2022.11.0

pyproject.toml

+1-15
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,7 @@ requires-python = ">=3.8"
2626
#
2727
# For an analysis of this field vs pip's requirements files see:
2828
# https://packaging.python.org/discussions/install-requires-vs-requirements/
29-
dependencies = [
30-
"arviz>=0.14.0",
31-
"graphviz",
32-
"ipython!=8.7.0",
33-
"matplotlib>=3.5.3",
34-
"numpy<1.26.0",
35-
"pandas",
36-
"patsy",
37-
"pymc>=5.0.0",
38-
"scikit-learn>=1",
39-
"scipy",
40-
"seaborn>=0.11.2",
41-
"statsmodels",
42-
"xarray>=v2022.11.0",
43-
]
29+
dependencies = []
4430

4531
# List additional groups of dependencies here (e.g. development dependencies). Users
4632
# will be able to install these using the "extras" syntax, for example:

0 commit comments

Comments
 (0)