Skip to content

Commit 48454e1

Browse files
committed
feat: update project metadata
1 parent 5b907a5 commit 48454e1

File tree

4 files changed

+18
-33
lines changed

4 files changed

+18
-33
lines changed

cedarscript_ast_parser/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
__version__ = "0.1.3"
2+
3+
from .cedarscript_ast_parser import CEDARScriptASTParser, ParseError, Command
4+
5+
__all__ = ('CEDARScriptASTParser', 'ParseError', 'Command', '__version__')
6+

src/cedarscript_ast_parser.py renamed to cedarscript_ast_parser/cedarscript_ast_parser.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
import cedarscript_grammar
66
from dataclasses import dataclass
77

8-
__all__ = ['CEDARScriptASTParser', 'ParseError', 'Command']
9-
10-
118
class ParseError(NamedTuple):
129
command_ordinal: int
1310
message: str

pyproject.toml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22
requires = ["setuptools>=61.0", "wheel"]
33
build-backend = "setuptools.build_meta"
44

5+
[tool.setuptools]
6+
py-modules = ["cedarscript_ast_parser"]
7+
58
[project]
6-
name = "cedarscript_ast_parser"
7-
version = "0.1.2"
9+
name = "cedarscript-ast-parser"
10+
dynamic = ["version"]
811
description = "A library for parsing and interpreting CEDARScript, a SQL-like language for code analysis and transformations"
912
readme = "README.md"
10-
authors = [{ name = "Elifarley", email = "elifarley@example.com" }]
13+
authors = [{ name = "Elifarley", email = "cedarscript@orgecc.com" }]
1114
license = { file = "LICENSE" }
1215
classifiers = [
1316
"Programming Language :: Python :: 3",
@@ -22,15 +25,15 @@ classifiers = [
2225
]
2326
keywords = ["parser", "ast", "cedarscript", "code-editing", "refactoring", "code-analysis", "sql-like", "ai-assisted-development"]
2427
dependencies = [
25-
"cedarscript_grammar>=0.0.3",
28+
"cedarscript-grammar>=0.0.7",
2629
]
2730
requires-python = ">=3.12"
2831

2932
[project.urls]
30-
Homepage = "https://github.com/CEDARScript/cedarscript-ast-parser"
31-
Documentation = "https://github.com/CEDARScript/cedarscript-ast-parser#readme"
32-
Repository = "https://github.com/CEDARScript/cedarscript-ast-parser.git"
33-
"Bug Tracker" = "https://github.com/CEDARScript/cedarscript-ast-parser/issues"
33+
Homepage = "https://github.com/CEDARScript/cedarscript-ast-parser-python"
34+
Documentation = "https://github.com/CEDARScript/cedarscript-ast-parser-python#readme"
35+
Repository = "https://github.com/CEDARScript/cedarscript-ast-parser-python.git"
36+
"Bug Tracker" = "https://github.com/CEDARScript/cedarscript-ast-parser-python/issues"
3437

3538
[project.optional-dependencies]
3639
dev = [
@@ -44,13 +47,7 @@ dev = [
4447
version = {attr = "cedarscript_ast_parser.__version__"}
4548

4649
[tool.setuptools.packages.find]
47-
where = ["src"]
50+
where = ["."]
4851
include = ["cedarscript_ast_parser*"]
4952
exclude = ["cedarscript_ast_parser.tests*"]
5053
namespaces = false
51-
52-
[tool.setuptools.package-data]
53-
cedarscript_ast_parser = ["*.so", "*.dylib", "*.dll"]
54-
55-
[tool.setuptools]
56-
include-package-data = true

setup.cfg

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)