From 657b5158dc2ae7593d6435772c31a115d76aca29 Mon Sep 17 00:00:00 2001 From: Elifarley Date: Thu, 12 Dec 2024 03:09:22 -0300 Subject: [PATCH] cedarscript-grammar>=0.7.0 --- Makefile | 2 +- pyproject.toml | 6 +++--- src/cedarscript_ast_parser/__init__.py | 2 +- src/version/__init__.py | 3 +++ 4 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 src/version/__init__.py diff --git a/Makefile b/Makefile index a59585f..0478c1d 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ all: ci build version dist d: all scripts/check-version.sh - twine upload dist/* + twine upload $$(test -e ~/.pypirc && echo '--config-file ~/.pypirc') dist/* clean c: rm -rfv out dist build/bdist.* build/lib/cedarscript* diff --git a/pyproject.toml b/pyproject.toml index b735d2e..a07ecfc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ classifiers = [ ] keywords = ["parser", "ast", "cedarscript", "code-editing", "refactoring", "code-analysis", "sql-like", "ai-assisted-development"] dependencies = [ - "cedarscript-grammar>=0.6.1", + "cedarscript-grammar>=0.7.0", ] requires-python = ">=3.8" @@ -49,7 +49,7 @@ package-dir = {"" = "src"} [tool.setuptools.packages.find] where = ["src"] -include = ["cedarscript_ast_parser*"] +include = ["version", "cedarscript_ast_parser*"] exclude = ["cedarscript_ast_parser.tests*"] namespaces = false @@ -58,7 +58,7 @@ namespaces = false # >>> SETUPTOOLS_SCM_PRETEND_VERSION=0.0.2 python -m build # To dry-run and see version: # >>> python -m setuptools_scm -write_to = "src/cedarscript_ast_parser/_version.py" +write_to = "src/version/_version.py" # Append .post{number of commits} to your version if there are commits after the last tag. version_scheme = "post-release" diff --git a/src/cedarscript_ast_parser/__init__.py b/src/cedarscript_ast_parser/__init__.py index 565017a..9bb62ec 100644 --- a/src/cedarscript_ast_parser/__init__.py +++ b/src/cedarscript_ast_parser/__init__.py @@ -1,4 +1,4 @@ -from ._version import __version__ +from version import __version__ from .cedarscript_ast_parser import ( CEDARScriptASTParser, ParseError, Command, diff --git a/src/version/__init__.py b/src/version/__init__.py new file mode 100644 index 0000000..32495d2 --- /dev/null +++ b/src/version/__init__.py @@ -0,0 +1,3 @@ +from ._version import version + +__version__ = version pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy