File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed
Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -120,8 +120,9 @@ $ LD_PRELOAD=$(clang -print-file-name=libclang_rt.asan-x86_64.so) python FILE.py
120120
121121### Releasing
122122
123- * bump version in ` setup.py `
124- * tag it: ` git tag vX.Y. `
123+ Version is created automatically using ` setuptools_scm ` .
124+
125+ * tag it: ` git tag vX.Y.Z `
125126* push tag: ` git push --tags `
126127
127128
Original file line number Diff line number Diff line change 11[build-system ]
22requires = [
3- " setuptools>=42" ,
3+ # NOTE: setuptools_scm>=8 is not supported in py3.6 cibuildwheel env.
4+ # so use older setuptools_scm for a while
5+ # "setuptools>=64",
6+ # "setuptools_scm>=8",
7+ " setuptools>=45" ,
8+ " setuptools_scm[toml]>=6.2" ,
49 " wheel" ,
510 " pybind11>=2.10.0" ,
611]
@@ -12,11 +17,18 @@ line-length = 140
1217[project ]
1318name = " jagger"
1419
15- # look into version in setuo.py
20+ # Use setuptools_scm
1621dynamic = [" version" ]
1722
1823readme = {file = " README.md" , content-type = " text/markdown" }
1924
2025
2126[project .scripts ]
2227jagger = " jagger:main"
28+
29+ [tool .setuptools_scm ]
30+ # setuptools_scm>=8
31+ # version_file = "jagger/_version.py"
32+
33+ # setuptools_scm<8
34+ write_to = " jagger/_version.py"
You can’t perform that action at this time.
0 commit comments