aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/pyproject.toml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-03-02 22:56:06 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-03-02 23:06:26 +0100
commitbc3c7c7190c5acaeb03ef82dc41cc716aaff76c6 (patch)
treee732851b92346135bcff5686181db6074df9724b /pyproject.toml
parentworkflows/basic: test more Python versions (diff)
downloadcmake-common-bc3c7c7190c5acaeb03ef82dc41cc716aaff76c6.tar.gz
cmake-common-bc3c7c7190c5acaeb03ef82dc41cc716aaff76c6.zip
add runtime version information
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml10
1 files changed, 8 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml
index f1052b4..6ee788c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,16 +1,20 @@
[build-system]
-requires = ["setuptools>=61.0"]
+requires = ["setuptools>=61.0", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "cmake_common"
description = "Utilities to help develop C++/CMake projects"
license = {text = "MIT"}
-version = "3.4.1"
+dynamic = ["version"]
authors = [{name = "Egor Tensin", email = "Egor.Tensin@gmail.com"}]
readme = "README.md"
requires-python = ">=3.6"
+dependencies = [
+ 'importlib-metadata ~= 4.0 ; python_version < "3.8"',
+]
+
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
@@ -38,3 +42,5 @@ script-files = [
[tool.setuptools.data-files]
"share/cmake" = ["common.cmake"]
+
+[tool.setuptools_scm]