Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
adamovanja committed Dec 3, 2024
1 parent 6ce5714 commit 47c4c06
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: all lint test test-cov install create-env install-req dev prep-dev-container clean distclean
.PHONY: all lint test test-cov install create-env install-req dev clean distclean

PYTHON ?= python

Expand All @@ -15,7 +15,7 @@ test-cov: all

# install c-lasso & coral_pytorch
install-pip:
pip install \
$(PYTHON) -m pip install \
https://files.pythonhosted.org/packages/8c/12/b2f7511fbc3563e318754f33c30b2ee5cf095d97896094235202521febc1/c_lasso-1.0.11-py3-none-any.whl \
https://files.pythonhosted.org/packages/37/16/abebcfe69a8d7b526770ee23832fd6fed7a12afd469611c459f6dd500f81/coral_pytorch-1.4.0-py2.py3-none-any.whl

Expand All @@ -27,19 +27,13 @@ create-env: install-req

install-req:
@command -v mamba >/dev/null 2>&1 || { echo "Installing mamba..."; conda install -y mamba -n base -c conda-forge; }
pip install PyYAML jinja2
$(PYTHON) -m pip install PyYAML jinja2

dev: install-pip
$(CONDA_PREFIX)/bin/pip install pre-commit parameterized ruff black pytest pytest-cov flake8 versioneer mypy types-PyYAML ipykernel
$(CONDA_PREFIX)/bin/pip install -e .
pre-commit install

prep-dev-container: all
conda install mamba -qy -n base -c conda-forge
mamba install -p /opt/conda/envs/qiime2-$(QIIME_VERSION) -qy -c conda-forge -c bioconda -c defaults --file requirements.txt flake8 coverage wget pytest-xdist autopep8
/opt/conda/envs/qiime2-$(QIIME_VERSION)/bin/pip install -q https://github.com/qiime2/q2lint/archive/master.zip
/opt/conda/envs/qiime2-$(QIIME_VERSION)/bin/pip install -e .

clean: distclean

distclean: ;

0 comments on commit 47c4c06

Please sign in to comment.