Skip to content

Commit ceb6570

Browse files
committed
cedarscript-grammar>=0.7.0
1 parent bb8bb12 commit ceb6570

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ all: ci build version
55

66
dist d: all
77
scripts/check-version.sh
8-
twine upload dist/*
8+
twine upload --config-file ~/.pypirc dist/*
99

1010
clean c:
1111
rm -rfv out dist build/bdist.* build/lib/cedarscript*

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ classifiers = [
2626
]
2727
keywords = ["parser", "ast", "cedarscript", "code-editing", "refactoring", "code-analysis", "sql-like", "ai-assisted-development"]
2828
dependencies = [
29-
"cedarscript-grammar>=0.6.1",
29+
"cedarscript-grammar>=0.7.0",
3030
]
3131
requires-python = ">=3.8"
3232

@@ -49,7 +49,7 @@ package-dir = {"" = "src"}
4949

5050
[tool.setuptools.packages.find]
5151
where = ["src"]
52-
include = ["cedarscript_ast_parser*"]
52+
include = ["version", "cedarscript_ast_parser*"]
5353
exclude = ["cedarscript_ast_parser.tests*"]
5454
namespaces = false
5555

@@ -58,7 +58,7 @@ namespaces = false
5858
# >>> SETUPTOOLS_SCM_PRETEND_VERSION=0.0.2 python -m build
5959
# To dry-run and see version:
6060
# >>> python -m setuptools_scm
61-
write_to = "src/cedarscript_ast_parser/_version.py"
61+
write_to = "src/version/_version.py"
6262
# Append .post{number of commits} to your version if there are commits after the last tag.
6363
version_scheme = "post-release"
6464

src/cedarscript_ast_parser/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from ._version import __version__
1+
from version import __version__
22

33
from .cedarscript_ast_parser import (
44
CEDARScriptASTParser, ParseError, Command,

src/version/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from ._version import version
2+
3+
__version__ = version

0 commit comments

Comments
 (0)