Skip to content

Commit d7bd3c5

Browse files
committed
Assure scm versioning is pypa compatible
Related: #322 (comment)
1 parent ca5ddbc commit d7bd3c5

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

pyproject.toml

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
[build-system]
22
requires = [
3-
"setuptools>=50.3.2",
3+
"pip >= 19.3.1",
4+
"setuptools >= 42",
5+
"setuptools_scm[toml] >= 3.5.0",
6+
"setuptools_scm_git_archive >= 1.1",
7+
"wheel >= 0.33.6",
48
]
59
build-backend = "setuptools.build_meta"
10+
11+
[tool.setuptools_scm]
12+
local_scheme = "no-local-version"

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="pytest-html",
5-
use_scm_version=True,
5+
use_scm_version={"local_scheme": "no-local-version"},
66
description="pytest plugin for generating HTML reports",
77
long_description=open("README.rst").read(),
88
author="Dave Hunt",

0 commit comments

Comments
 (0)