Skip to content

Commit 95963eb

Browse files
authored
Add license to package metadata (#131)
1 parent 628bb61 commit 95963eb

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "ragstack-ai"
33
version = "0.2.0.post"
44
description = "RAGStack"
5-
license = ""
5+
license = "BUSL-1.1"
66
authors = ["DataStax"]
77
readme = "README.md"
88
packages = [

tests/unit-tests/test_ragstack.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@ def test_import():
99
import unstructured # noqa
1010
import openai # noqa
1111
import tiktoken # noqa
12+
13+
def test_meta():
14+
from importlib import metadata
15+
meta = metadata.metadata("ragstack-ai")
16+
assert meta["version"]
17+
assert meta["license"] == "BUSL-1.1"

0 commit comments

Comments
 (0)