11[build-system ]
2- requires = [" setuptools>=61.0" , " wheel" ]
2+ requires = [" setuptools>=61.0" , " wheel" , " setuptools_scm[toml]>=6.2 " ]
33build-backend = " setuptools.build_meta"
44
55[project ]
66name = " cedarscript-editor"
77dynamic = [" version" ]
88description = " A library for executing CEDARScript, a SQL-like language for code analysis and transformations"
9+ authors = [{ name = " Elifarley" , email = " cedarscript@orgecc.com" }]
910readme = " README.md"
10- authors = [{ name = " Elifarley" , email = " elifarley@example.com" }]
11- license = { file = " LICENSE" }
11+ license = {text = " MIT" }
1212classifiers = [
13- " Development Status :: 3 - Alpha" ,
1413 " Programming Language :: Python :: 3" ,
1514 " Programming Language :: Python :: 3.12" ,
1615 " License :: OSI Approved :: MIT License" ,
@@ -23,10 +22,10 @@ classifiers = [
2322]
2423keywords = [" cedarscript" , " code-editing" , " refactoring" , " code-analysis" , " sql-like" , " ai-assisted-development" ]
2524dependencies = [
26- " cedarscript-ast-parser>=0.2.2 " ,
25+ " cedarscript-ast-parser>=0.2.3 " ,
2726 " rope>=1.13.0"
2827]
29- requires-python = " >=3.8 "
28+ requires-python = " >=3.11 "
3029
3130[project .urls ]
3231Homepage = " https://github.com/CEDARScript/cedarscript-editor-python"
@@ -47,31 +46,38 @@ dev = [
4746
4847[tool .setuptools ]
4948package-dir = {"" = " src" }
50- py-modules = [" cedarscript_editor" , " text_manipulaiton" ]
5149
52- [tool .setuptools .dynamic ]
53- version = {attr = " cedarscript_editor.__version__" }
50+ [tool .setuptools_scm ]
51+ # To override version:
52+ # >>> SETUPTOOLS_SCM_PRETEND_VERSION=0.0.2 python -m build
53+ # To dry-run and see version:
54+ # >>> python -m setuptools_scm
55+ write_to = " src/cedarscript_editor/_version.py"
56+ # Append .post{number of commits} to your version if there are commits after the last tag.
57+ version_scheme = " post-release"
5458
5559[tool .setuptools .packages .find ]
5660where = [" src" ]
57- include = [" cedarscript_editor*" , " text_editor* " , " identifier_selector* " , " *identifier_finder* " ,
58- " indentation_* " , " range_ *" ]
61+ include = [" cedarscript_editor*" , " text_manipulaiton* " ]
62+ exclude = [ " cedarscript_ast_parser.tests *" ]
5963namespaces = false
6064
6165[tool .setuptools .package-data ]
6266"*" = [" *.txt" , " *.rst" ]
6367
6468[tool .black ]
6569line-length = 100
66- target-version = [' py312 ' ]
70+ target-version = [' py311 ' ]
6771
6872[tool .isort ]
6973profile = " black"
7074line_length = 100
7175
7276[tool .mypy ]
73- ignore_missing_imports = true
77+ python_version = " 3.11 "
7478strict = true
79+ warn_return_any = true
80+ warn_unused_configs = true
7581
7682[tool .pytest .ini_options ]
7783minversion = " 6.0"
0 commit comments