Skip to content

Commit 89d5f9a

Browse files
committed
various fixups
* suppress spurious setuptools_scm warning by explicitly setting a version file * update changelog to prep for release
1 parent 91e8298 commit 89d5f9a

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ dist/
99
build/
1010
*.egg-info/
1111
*.egg
12+
tind_client/_version.py
1213

1314
# Virtual environments
1415
.venv/

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.2.2]
9+
10+
### Changed
11+
- build package and publish to pypi, using setuptools_scm for version management
12+
813
## [0.2.1]
914

1015
### Changed

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=80", "setuptools-scm[simple]>=9.2"]
2+
requires = ["setuptools>=80", "setuptools-scm[simple]>=10.0.5"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
@@ -61,7 +61,13 @@ allow-init-docstring = true
6161
skip-checking-raises = true
6262
style = "sphinx"
6363

64+
[tool.pylint.master]
65+
ignore = ["_version.py"]
66+
6467
[tool.pylint.format]
6568
max-line-length = 100
6669

70+
# the following is unnecessary, but having anything in this config section
71+
# suppresses a spurious build warning from setuptools_scm.
6772
[tool.setuptools_scm]
73+
version_file = "tind_client/_version.py"

0 commit comments

Comments
 (0)