6 files changed +19
-3
lines changed Original file line number Diff line number Diff line change
1
+ /src /version /_version.py
2
+ src /* .egg-info
3
+ dist
4
+ build
5
+ out
6
+ .coverage
7
+ . * .history *
8
+ * .tags.cache *
Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ package-dir = {"" = "src"}
58
58
# >>> SETUPTOOLS_SCM_PRETEND_VERSION=0.0.2 python -m build
59
59
# To dry-run and see version:
60
60
# >>> python -m setuptools_scm
61
- write_to = " src/cedarscript_editor /_version.py"
61
+ write_to = " src/version /_version.py"
62
62
# Append .post{number of commits} to your version if there are commits after the last tag.
63
63
version_scheme = " post-release"
64
64
65
65
[tool .setuptools .packages .find ]
66
66
where = [" src" ]
67
- include = [" cedarscript_editor*" , " text_manipulation*" ]
67
+ include = [" version " , " cedarscript_editor*" , " text_manipulation*" ]
68
68
exclude = [" cedarscript_ast_parser.tests*" ]
69
69
namespaces = false
70
70
Original file line number Diff line number Diff line change 1
- from . _version import __version__
1
+ from version import __version__
2
2
import re
3
3
from .cedarscript_editor import CEDARScriptEditor
4
4
from cedarscript_ast_parser import CEDARScriptASTParser
Original file line number Diff line number Diff line change
1
+ from version import __version__
1
2
from .line_kit import get_line_indent_count , extract_indentation
2
3
from .range_spec import RangeSpec , IdentifierBoundaries
3
4
from .text_editor_kit import read_file , write_file , bow_to_search_range
4
5
from .cst_kit import IdentifierFinder
5
6
from .indentation_kit import IndentationInfo
6
7
7
8
__all__ = [
9
+ "__version__" ,
8
10
"IndentationInfo" ,
9
11
"IdentifierBoundaries" ,
10
12
"IdentifierFinder" ,
Original file line number Diff line number Diff line change
1
+ from ._version import version
2
+
3
+ __version__ = version
0 commit comments