Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add conda environment.yml #30

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ venv:
setup: venv
./venv/bin/pip3 install -r requirements.txt

.PHONY: setup-conda-env
setup-conda-env:
conda env create -f environment.yml

.PHONY: format
format:
./venv/bin/black ./src
Expand Down
11 changes: 11 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: ibat
channels:
- defaults
- conda-forge
dependencies:
- python=3.9
- pip
- river
- pip:
- -r requirements.txt
- -r requirements-style.txt
10 changes: 10 additions & 0 deletions requirements-style.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
black==22.3.0
flake8==3.8.3
flake8-annotations==2.1.0
flake8-bandit==2.1.2
flake8-black==0.2.0
flake8-bugbear==20.1.4
flake8-import-order==0.18.1
pre-commit==2.15.0
bandit==1.7.2
importlib-metadata<5.0
5 changes: 2 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
black
flake8
Cython
numpy
pandas
matplotlib
scikit-learn
xgboost
torch
river
frouros
scikit-multiflow