@@ -15,7 +15,7 @@ classifiers = [
15
15
' Topic :: Scientific/Engineering :: Artificial Intelligence' ,
16
16
]
17
17
keywords = [' deepecho' , ' DeepEcho' ]
18
- dynamic = [ " version " ]
18
+ version = ' 0.5.1.dev0 '
19
19
license = { text = ' BSL-1.1' }
20
20
requires-python = ' >=3.8,<3.12'
21
21
readme = ' README.md'
@@ -103,27 +103,29 @@ namespaces = false
103
103
104
104
[tool .setuptools .package-data ]
105
105
"*" = [
106
- ' *.txt' ,
106
+ ' AUTHORS.rst' ,
107
+ ' CONTRIBUTING.rst' ,
108
+ ' HISTORY.md' ,
109
+ ' LICENSE' ,
110
+ ' README.md' ,
111
+ ' deepecho/data/demo.csv' ,
107
112
' *.md' ,
108
113
' *.rst' ,
109
- ' README.md' ,
110
- ' docs/*' ,
114
+ ' conf.py' ,
111
115
' Makefile' ,
112
116
' make.bat' ,
113
117
' *.jpg' ,
114
118
' *.png' ,
115
- ' *.gif' ,
119
+ ' *.gif'
116
120
]
121
+ "tests" = [" *" ]
117
122
118
123
[tool .setuptools .exclude-package-data ]
119
124
"*" = [
120
125
' * __pycache__' ,
121
126
' *.py[co]' ,
122
127
]
123
128
124
- [tool .setuptools .dynamic ]
125
- version = {attr = ' deepecho.__version__' }
126
-
127
129
[tool .isort ]
128
130
include_trailing_comment = true
129
131
line_length = 99
@@ -136,11 +138,11 @@ use_parentheses = true
136
138
collect_ignore = [' pyproject.toml' ]
137
139
138
140
[tool .bumpversion ]
139
- current_version = ' 0.5.1'
140
- parse = ' (?P<major>\\ d+)\\ .(?P<minor>\\ d+)\\ .(?P<patch>\\ d+)'
141
+ current_version = ' 0.5.1.dev0 '
142
+ parse = ' (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<candidate>\ d+))? '
141
143
serialize = [
142
- ' {major}.{minor}.{patch}- {release}{candidate}' ,
143
- ' {major}.{minor}.{patch}'
144
+ ' {major}.{minor}.{patch}. {release}{candidate}' ,
145
+ ' {major}.{minor}.{patch}'
144
146
]
145
147
search = ' {current_version}'
146
148
replace = ' {new_version}'
@@ -156,15 +158,22 @@ message = 'Bump version: {current_version} → {new_version}'
156
158
commit_args = ' '
157
159
158
160
[tool .bumpversion .parts .release ]
161
+ first_value = ' dev'
162
+ optional_value = ' release'
159
163
values = [
160
164
' dev' ,
161
165
' release'
162
166
]
163
- optional_value = ' release'
164
167
165
- [tool .bumpversion .files ]
166
- pyproject.toml = {search = ' current_version="{current_version}"' , replace = ' current_version="{new_version}"' }
167
- "deepecho/__init__.py" = {search = ' __version__ = "{current_version}"' , replace = ' __version__ = "{new_version}"' }
168
+ [[tool .bumpversion .files ]]
169
+ filename = " pyproject.toml"
170
+ search = " version = '{current_version}'"
171
+ replace = " version = '{new_version}'"
172
+
173
+ [[tool .bumpversion .files ]]
174
+ filename = " sdgym/__init__.py"
175
+ search = " __version__ = '{current_version}'"
176
+ replace = " __version__ = '{new_version}'"
168
177
169
178
[build-system ]
170
179
requires = [' setuptools' , ' wheel' ]
0 commit comments