This commit is contained in:
marko-kraemer 2024-11-02 00:16:44 +01:00
parent 7341c31e2a
commit 0b6a9d09c2
3 changed files with 25 additions and 13 deletions

17
MANIFEST.in Normal file
View File

@ -0,0 +1,17 @@
# Include all Python files in agentpress directory
recursive-include agentpress *.py
# Include example files
recursive-include agentpress/examples *
# Include any other necessary files
include LICENSE
include README.md
include pyproject.toml
# Exclude unnecessary files
global-exclude *.pyc
global-exclude __pycache__
global-exclude .DS_Store
global-exclude *.pyo
global-exclude *.pyd

View File

@ -156,19 +156,17 @@ def init():
if selected_example:
click.echo(f"📁 Example agent files created in the current directory.")
click.echo("\n🔥 Quick start:")
click.echo("1. Create and activate a virtual environment:")
click.echo(" python -m venv venv")
click.echo(" source venv/bin/activate # On Windows: .\\venv\\Scripts\\activate")
click.echo("\n🔥 Quick start:")
if selected_example:
click.echo(f"\n2. Run the example agent:")
click.echo(" python agent.py")
click.echo("\n📚 Import components in your code:")
click.echo("\n📚Import agentpress components in your code:")
click.echo(f" from {components_dir}.llm import make_llm_api_call")
click.echo(f" from {components_dir}.thread_manager import ThreadManager")
if selected_example:
click.echo(f"\nRun the example agent:")
click.echo(" python agent.py")
except Exception as e:
click.echo(f"\n❌ Error during setup: {str(e)}", err=True)
return

View File

@ -4,9 +4,6 @@ version = "0.1.2"
description = "Building blocks for AI Agents"
authors = ["marko-kraemer <mail@markokraemer.com>"]
readme = "README.md"
packages = [
{ include = "agentpress" },
]
license = "MIT"
homepage = "https://github.com/kortix-ai/agentpress"
repository = "https://github.com/kortix-ai/agentpress"