fix: package and package data setup and added typer

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-03-05 13:22:02 +00:00
commit 7224ed0761
3 changed files with 12 additions and 10 deletions

View file

@ -4,12 +4,10 @@ version = "0.0.1"
description = "A Python package with a built-in web application"
authors = ["Ibis Prevedello <ibiscp@gmail.com>"]
packages = [
{ include = "langflow/cli.py" },
# { include = "langflow/backend/*.py" }
{ include = "langflow"},
]
include = [{path= "langflow/frontend/build/*", format=["sdist", "wheel"]},
{path= "langflow/frontend/build/static/js/*", format=["sdist", "wheel"]},
{path= "langflow/frontend/build/static/css/*", format=["sdist", "wheel"]}]
include = ["langflow/frontend/build/*", "langflow/frontend/build/**/*"]
exclude = ["langflow/frontend/node_modules/*", "langflow/frontend/src/*"]
[tool.poetry.scripts]
langflow = "langflow.cli:main"
@ -26,4 +24,5 @@ uvicorn = "^0.20.0"
# beautifulsoup4 = "^4.11.2"
# google-search-results = "^2.4.1"
# google-api-python-client = "^2.79.0"
# langchain = {git = "https://github.com/ibiscp/langchain.git", rev = "ibis"}
langchain = {git = "https://github.com/ibiscp/langchain.git", rev = "ibis"}
typer = "^0.7.0"