Skip to content

Commit 1a4fa50

Browse files
committed
Fixed packaging structure
1 parent 48454e1 commit 1a4fa50

File tree

5 files changed

+13
-18
lines changed

5 files changed

+13
-18
lines changed

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# CEDARScript Parser
1+
# CEDARScript AST Parser
22

33
[![PyPI version](https://badge.fury.io/py/cedarscript-ast-parser.svg)](https://pypi.org/project/cedarscript-ast-parser/)
44
[![Python Versions](https://img.shields.io/pypi/pyversions/cedarscript-ast-parser.svg)](https://pypi.org/project/cedarscript-ast-parser/)
@@ -25,13 +25,7 @@ AI-assisted development tools to understand and execute these tasks.
2525
You can install CEDARScript Parser using pip:
2626

2727
```
28-
pip install cedarscript_ast_parser
29-
```
30-
31-
To install the latest development version from TestPyPI:
32-
33-
```
34-
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple cedarscript_ast_parser
28+
pip install cedarscript-ast-parser
3529
```
3630

3731
## Usage

cedarscript_ast_parser/__init__.py

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

pyproject.toml

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

5-
[tool.setuptools]
6-
py-modules = ["cedarscript_ast_parser"]
7-
85
[project]
96
name = "cedarscript-ast-parser"
107
dynamic = ["version"]
@@ -46,8 +43,12 @@ dev = [
4643
[tool.setuptools.dynamic]
4744
version = {attr = "cedarscript_ast_parser.__version__"}
4845

46+
[tool.setuptools]
47+
package-dir = {"" = "src"}
48+
py-modules = ["cedarscript_ast_parser"]
49+
4950
[tool.setuptools.packages.find]
50-
where = ["."]
51+
where = ["src"]
5152
include = ["cedarscript_ast_parser*"]
5253
exclude = ["cedarscript_ast_parser.tests*"]
5354
namespaces = false
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
__version__ = "0.1.4"
2+
3+
from .cedarscript_ast_parser import CEDARScriptASTParser, ParseError, Command
4+
5+
__all__ = ('CEDARScriptASTParser', 'ParseError', 'Command')
6+

0 commit comments

Comments
 (0)