removed scm for version, 5.2.0

This commit is contained in:
Stephen Mildenhall
2025-06-26 17:34:43 +01:00
parent 75ce885b25
commit 2d1920d075
3 changed files with 6 additions and 31 deletions
+1
View File
@@ -1,5 +1,6 @@
__project__ = 'greater_tables'
__author__ = 'Stephen J Mildenhall'
__version__ = '5.2.0'
from . _version import __version__
from . core import GT
-21
View File
@@ -1,21 +0,0 @@
# file generated by setuptools-scm
# don't change, don't track in version control
__all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
TYPE_CHECKING = False
if TYPE_CHECKING:
from typing import Tuple
from typing import Union
VERSION_TUPLE = Tuple[Union[int, str], ...]
else:
VERSION_TUPLE = object
version: str
__version__: str
__version_tuple__: VERSION_TUPLE
version_tuple: VERSION_TUPLE
__version__ = version = '5.1.0.post3+dirty'
__version_tuple__ = version_tuple = (5, 1, 0, 'post3', 'dirty')
+5 -10
View File
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=62.3", "setuptools_scm[toml]>=7.0"]
requires = ["setuptools>=62.3"]
build-backend = "setuptools.build_meta"
[project]
@@ -8,11 +8,11 @@ dynamic = ["version"]
description = "Perfect tables from pandas dataframes."
authors = [{name = "Stephen J Mildehall", email = "mynl@me.com" }]
readme = {file = "README.md", content-type = "text/markdown"}
license = "MIT"
license = { text = "MIT" }
license-files = ["LICENSE"]
requires-python = ">=3.10"
dependencies = [
"bs4",
"beautifulsoup4",
"cachetools",
"pydantic",
"click",
@@ -33,10 +33,8 @@ classifiers = [
"Documentation" = "https://greater-tables-project.readthedocs.io/en/latest/"
"Changelog" = "https://greater-tables-project.readthedocs.io/en/latest/versions.html"
[tool.setuptools_scm]
version_file = "greater_tables/_version.py"
local_scheme = "dirty-tag" # affects the "+gHASH" part
version_scheme = "post-release" # affects dev version style
[tool.setuptools.dynamic]
version = { attr = "greater_tables.__version__" }
[tool.setuptools.packages.find]
include = ["greater_tables", "greater_tables.*"]
@@ -46,8 +44,6 @@ include = ["greater_tables", "greater_tables.*"]
[project.optional-dependencies]
dev = [
"setuptools_scm[toml]>=7.0",
"tomlkit",
"docutils<0.17",
"jupyter-sphinx",
"myst_parser",
@@ -55,7 +51,6 @@ dev = [
"pickleshare",
"recommonmark>=0.7.1",
"setuptools>=62.3.2",
"myst_parser",
"sphinx>=5.0",
"sphinx-panels",
"sphinx-rtd-dark-mode",