forked from SkyworkAI/DeepResearchAgent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
62 lines (49 loc) · 1.42 KB
/
Makefile
File metadata and controls
62 lines (49 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
SHELL=/usr/bin/env bash
# Conda environment name and Python version
ENV_NAME = dra
PYTHON_VERSION = 3.11
# Default goal
.DEFAULT_GOAL := help
# 🛠️ Remove Conda environment
.PHONY: clean
clean:
conda remove -y --name $(ENV_NAME) --all
# 🛠️ Install dependencies using Poetry
.PHONY: install
install:
@echo "Installing dependencies"
pip install poetry
pip install 'markitdown[all]'
pip install "browser-use[memory]"==0.1.47
# install playwright
pip install playwright
playwright install chromium --with-deps --no-shell
# install dependencies
poetry install
# install xlrd
pip install xlrd==2.0.1
install-requirements:
@echo "Installing dependencies"
pip install poetry
pip install 'markitdown[all]'
pip install "browser-use[memory]"==0.1.47
# install playwright
pip install playwright
playwright install chromium --with-deps --no-shell
# install dependencies
pip install -r requirements.txt
# install xlrd
pip install xlrd==2.0.1
# 🛠️ Update dependencies using Poetry
.PHONY: update
update:
poetry update
# 🛠️ Show available Makefile commands
.PHONY: help
help:
@echo "Makefile commands:"
@echo " make create - Create Conda environment and install Poetry"
@echo " make activate - Show activation command"
@echo " make clean - Remove Conda environment"
@echo " make install - Install dependencies using Poetry"
@echo " make update - Update dependencies using Poetry"