-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added makefile to install agentc using pip in conda env
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
dev-local: init-env install-agentc-pip post-install | ||
|
||
# To install agentc in any project, given that the clone | ||
# of agent-catalog and project directory have common parent | ||
AGENT_CATALOG_LIBS = ../agent-catalog/libs | ||
|
||
init-env: | ||
@echo "----Creating Conda Environment----" | ||
conda create -n agentc_env python=3.12 -y | ||
|
||
install-agentc-pip: | ||
@echo "----Installing Agentc----" | ||
@echo "This may take some time..." | ||
conda run -n agentc_env bash -c "\ | ||
pip install $(AGENT_CATALOG_LIBS)/agentc && \ | ||
pip install $(AGENT_CATALOG_LIBS)/agentc_langchain && \ | ||
echo '' && \ | ||
echo '----Verifying Installation----' && \ | ||
pip list | grep agentc && \ | ||
echo '' && \ | ||
echo '----agentc Usage----' && \ | ||
agentc --help" | ||
|
||
post-install: | ||
@echo "Note: Please run 'conda agentc_env activate' to activate your python env and run agentc commands" |