From 457cbfd8bcc8cbc472f5455505130c360fd061d0 Mon Sep 17 00:00:00 2001 From: Songyuan Cui Date: Wed, 11 Oct 2023 13:28:17 -0500 Subject: [PATCH] refactor: remove environment.yml and install poetry using pip --- Makefile | 8 ++++---- environment.yml | 7 ------- 2 files changed, 4 insertions(+), 11 deletions(-) delete mode 100644 environment.yml diff --git a/Makefile b/Makefile index 00dde30..dc75af2 100644 --- a/Makefile +++ b/Makefile @@ -2,13 +2,13 @@ PYTHON := python3 PYTHONPATH := `pwd` #* Poetry -.PHONY: poetry-download -poetry-download: - curl -sSL https://install.python-poetry.org/ | $(PYTHON) - +.PHONY: poetry-install +poetry-install: + pip install "poetry>=1.0.0,<1.6.0" .PHONY: poetry-remove poetry-remove: - curl -sSL https://install.python-poetry.org/ | $(PYTHON) - --uninstall + pip uninstall poetry #* Installation .PHONY: install diff --git a/environment.yml b/environment.yml deleted file mode 100644 index baadc86..0000000 --- a/environment.yml +++ /dev/null @@ -1,7 +0,0 @@ -name: sopht-env -channels: - - defaults -dependencies: - - python=3.10.* - - pip - - poetry>=1.0.0,<1.6.0