Skip to content

Commit 682792d

Browse files
authored
Merge pull request #106 from #105
Feature/105 add setup clickhouse prompt dir
2 parents 864e10c + ced24bf commit 682792d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.env.example

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ AWS_BEDROCK_EMBEDDING_MODEL=amazon.titan-embed-text-v2:0
6363
# EMBEDDING_PROVIDER='huggingface'
6464
# HUGGING_FACE_EMBEDDING_REPO_ID=
6565
# HUGGING_FACE_EMBEDDING_MODEL=
66+
6667
# HUGGING_FACE_EMBEDDING_API_TOKEN=
6768

6869
DATAHUB_SERVER = 'http://-.-.-.-:-'
@@ -131,4 +132,5 @@ DATAHUB_SERVER = 'http://-.-.-.-:-'
131132

132133
# sqlite
133134
# DB_TYPE=sqlite
134-
# SQLITE_PATH=./data/sqlite.db
135+
# SQLITE_PATH=./data/sqlite.db
136+

setup.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
pip 또는 Python 배포 도구들이 이 정보를 바탕으로 설치를 수행합니다.
66
"""
77

8+
import os
9+
import glob
810
from setuptools import find_packages, setup
911

1012
from version import __version__
@@ -41,7 +43,11 @@ def load_requirements(path="requirements.txt"):
4143
description="Lang2SQL - Query Generator for Data Warehouse",
4244
long_description=long_description,
4345
long_description_content_type="text/markdown",
44-
packages=find_packages(),
46+
packages=find_packages() + ["prompt"],
47+
include_package_data=False,
48+
package_data={
49+
"prompt": ["*.md"],
50+
},
4551
install_requires=requirements,
4652
entry_points={
4753
"console_scripts": [

0 commit comments

Comments
 (0)