Skip to content

Commit

Permalink
Add binary packaging for chat bot
Browse files Browse the repository at this point in the history
  • Loading branch information
Xpitfire committed Jan 21, 2023
1 parent c83eee4 commit 771137f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 25 deletions.
21 changes: 0 additions & 21 deletions bin/symai

This file was deleted.

9 changes: 6 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ keywords = ["symbolic programming", "machine learning"]
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"License :: OSI Approved :: BSD 3-Clause License",
"Operating System :: OS Independent",
]
dependencies = [
Expand All @@ -32,9 +32,12 @@ version = {attr = "symai.SYMAI_VERSION"}
"*" = ["*.json"]

[tool.setuptools.packages.find]
include = ["symai", "bin"]
exclude = ["bin/ffmpeg-git-20220910-amd64-static", "tests", "examples", "notebooks", "outputs", "assets"]
include = ["symai"]
exclude = ["tests", "examples", "notebooks", "outputs", "assets"]

[project.urls]
"Homepage" = "https://alphacoreai.eu/"
"GitHub" = "https://github.com/Xpitfire/symai"

[project.scripts]
symai = "symai.bin:run"
2 changes: 1 addition & 1 deletion symai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import logging


SYMAI_VERSION = "0.2.3"
SYMAI_VERSION = "0.2.4"


def _start_symai():
Expand Down
6 changes: 6 additions & 0 deletions symai/bin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from symai.chat import SymbiaChat


def run() -> None:
chat = SymbiaChat()
chat()

0 comments on commit 771137f

Please sign in to comment.