summaryrefslogtreecommitdiff
blob: 5bde4bccd53779c20c3f6d9d44581cf388616c4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,7 +1,3 @@
 [build-system]
 requires = ["setuptools>=50.3.2", "wheel", "setuptools-declarative-requirements", "setuptools_scm[toml]>=3.4"]
 build-backend = "setuptools.build_meta"
-
-[tool.setuptools_scm]
-write_to = "src/pytest_helpers_namespace/version.py"
-write_to_template = "__version__ = \"{version}\""
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,4 +1,5 @@
 [metadata]
+version = @PV@
 name = pytest-helpers-namespace
 description = Pytest Helpers Namespace Plugin
 long_description = file: README.rst
@@ -34,21 +35,12 @@ packages = find:
 python_requires = >= 3.5
 setup_requires =
   setuptools>=50.3.2
-  setuptools_scm[toml]>=3.4
-  setuptools-declarative-requirements

 [options.packages.find]
 where = src
 exclude =
     tests

-[requirements-files]
-install_requires = requirements/base.txt
-extras_require =
-  docs = requirements/docs.txt
-  lint = requirements/lint.txt
-  tests = requirements/tests.txt
-
 [options.entry_points]
 pytest11 =
   helpers_namespace = pytest_helpers_namespace.plugin
--- a/setup.py
+++ b/setup.py
@@ -2,4 +2,4 @@
 import setuptools

 if __name__ == "__main__":
-    setuptools.setup(use_scm_version=True)
+    setuptools.setup()