Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.
Python aiburrchatbot-frameworkdagsgenerative-aigraphshacktoberfestllmopsllmsmlopspersistent-data-structurestate-machinestate-managementvisibility
Updates pyproject.toml + CLI to work for initial installation
elijahbenizzyf2f4faf53ab4
diff --git a/README.md b/README.mdindex 26b793da..bce06cd1 100644--- a/README.md+++ b/README.md@@ -38,7 +38,7 @@ built Burr as a _harness_ to handle state between executions of Hamilton DAGs,but realized that it has a wide array of applications and decided to release it.# Getting Started-``+To get started, install from `pypi`, using your favorite package manager:```bashdiff --git a/burr/cli/__main__.py b/burr/cli/__main__.pyindex ce9bc6d4..cdca0091 100644--- a/burr/cli/__main__.py+++ b/burr/cli/__main__.py@@ -6,6 +6,7 @@ import threadingimport timeimport webbrowserfrom contextlib import contextmanager+from importlib.resources import filesfrom burr.integrations.base import require_plugin@@ -103,8 +104,7 @@ def run_server(port: int, dev_mode: bool, no_open: bool, no_copy_demo_data: boolbase_dir = os.path.expanduser("~/.burr")if not no_copy_demo_data:logger.info(f"Copying demo data over to {base_dir}...")- git_root = _get_git_root()- demo_data_path = f"{git_root}/burr/tracking/server/demo_data"+ demo_data_path = files("burr").joinpath("tracking/server/demo_data")for top_level in os.listdir(demo_data_path):if not os.path.exists(f"{base_dir}/{top_level}"):logger.info(f"Copying {top_level} over...")diff --git a/pyproject.toml b/pyproject.tomlindex 8997cbe8..51a4d496 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -76,6 +76,10 @@ learn = ["burr[tracking,streamlit,graphviz]"]+start = [+ "burr[learn]"+]+# just install everything for developersdeveloper = ["burr[streamlit]",@@ -98,6 +102,7 @@ include = ["burr", "burr.*"][tool.setuptools.package-data]burr = ["burr/tracking/server/build/**/*",+ "burr/tracking/server/demo_data/**/*"][project.urls]