File tree 3 files changed +8
-5
lines changed
3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -66,3 +66,5 @@ venv.bak/
66
66
67
67
# Conda-forge recipe generated by grayskull
68
68
pyospackage /*
69
+ # setuptools scm generates this file - it should never be committed to history
70
+ src /pyospackage /_version.py
Original file line number Diff line number Diff line change 2
2
3
3
## Unreleased
4
4
5
- * Add: CI based pypi release workflow & dynamic versioning (@lwasser , #)
5
+ * Add: CI based pypi release workflow & dynamic versioning (@lwasser , #32 )
6
6
* Add: readthedocs config for building documentation (@lwasser )
7
7
* Add: Cleanup documentation structure (@lwasser )
8
8
Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ build-backend = "hatchling.build"
6
6
name = " pyospackage"
7
7
description = " A package that adds numbers together"
8
8
readme = " README.md"
9
- version = " 0.1.11"
9
+ # version = "0.1.11" # Delete this line and add the line below to tell hatch to use dynamic versioning
10
+ dynamic = [" version" ]
10
11
requires-python = " >=3.10"
11
12
license = " MIT"
12
13
keywords = []
@@ -25,7 +26,7 @@ dependencies = []
25
26
26
27
[project .urls ]
27
28
Homepage = " https://pypi.org/project/pyospackage/"
28
- Documentation = " https://github.com/pyopensci/pyospackage "
29
+ Documentation = " https://pyospackage.readthedocs.io/en/latest/ "
29
30
Issues = " https://github.com/pyopensci/pyospackage/issues"
30
31
Source = " https://github.com/pyopensci/pyospackage"
31
32
@@ -47,15 +48,15 @@ docs = [
47
48
48
49
# ******* Hatch configuration here ******* #
49
50
51
+ # Setup dynamic versioning (this uses setuptools_scm on the backend)
50
52
[tool .hatch ]
51
53
version.source = " vcs"
52
- build.hooks.vcs.version-file = " src/pyosmeta /_version.py"
54
+ build.hooks.vcs.version-file = " src/pyospackage /_version.py"
53
55
54
56
[tool .hatch .envs .docs ]
55
57
# https://hatch.pypa.io/1.12/config/environment/overview/#features
56
58
features = [" docs" ]
57
59
58
-
59
60
[tool .hatch .envs .docs .scripts ]
60
61
# Build your docs statically - html output
61
62
# hatch run docs:docs-html
You can’t perform that action at this time.
0 commit comments