Skip to content

Commit e77bdee

Browse files
committed
feat: Add tree-sitter dependency and improve packaging
1 parent f22ba0d commit e77bdee

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

src/setup.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
from setuptools import setup, find_packages
2+
23
setup(
34
name="cedarscript_ast_parser",
45
version="0.1.0",
5-
packages=find_packages(),
6+
packages=find_packages(where="src"),
7+
package_dir={"": "src"},
68
install_requires=[
7-
# Add any dependencies here
9+
"tree-sitter>=0.20.1",
810
],
11+
package_data={
12+
"cedarscript_ast_parser": ["*.so", "*.dylib", "*.dll"],
13+
},
914
author="Elifarley",
1015
author_email="elifarley@example.com",
1116
description="A library for CEDARScript AST parsing",
@@ -14,8 +19,12 @@
1419
url="https://github.com/CEDARScript/cedarscript-ast-parser",
1520
classifiers=[
1621
"Programming Language :: Python :: 3",
22+
"Programming Language :: Python :: 3.12",
1723
"License :: OSI Approved :: MIT License",
1824
"Operating System :: OS Independent",
25+
"Intended Audience :: Developers",
26+
"Topic :: Software Development :: Libraries :: Python Modules",
27+
"Topic :: Text Processing :: Linguistic",
1928
],
2029
python_requires='>=3.12',
21-
)
30+
)

0 commit comments

Comments
 (0)