You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
903 B
37 lines
903 B
1 year ago
|
From 96197a07e974275f75f7814169f9213e4cca0b7d Mon Sep 17 00:00:00 2001
|
||
|
From: Maxwell G <maxwell@gtmx.me>
|
||
|
Date: Thu, 27 Jul 2023 16:12:03 +0000
|
||
|
Subject: [PATCH] setup.py: remove usage of unpackaged `calver`
|
||
|
|
||
|
---
|
||
|
pyproject.toml | 2 +-
|
||
|
setup.py | 3 +--
|
||
|
2 files changed, 2 insertions(+), 3 deletions(-)
|
||
|
|
||
|
diff --git a/pyproject.toml b/pyproject.toml
|
||
|
index 05374a2..1e0fdcc 100644
|
||
|
--- a/pyproject.toml
|
||
|
+++ b/pyproject.toml
|
||
|
@@ -1,5 +1,5 @@
|
||
|
[build-system]
|
||
|
-requires = ["setuptools", "calver"]
|
||
|
+requires = ["setuptools"]
|
||
|
build-backend = "setuptools.build_meta"
|
||
|
|
||
|
[tool.mypy]
|
||
|
diff --git a/setup.py b/setup.py
|
||
|
index 826eac7..1e5f12e 100644
|
||
|
--- a/setup.py
|
||
|
+++ b/setup.py
|
||
|
@@ -28,6 +28,5 @@ setup(
|
||
|
package_dir={"": "src"},
|
||
|
packages=find_packages(where="src"),
|
||
|
package_data={"": ["py.typed"]},
|
||
|
- use_calver=True,
|
||
|
- setup_requires=["calver"],
|
||
|
+ version="@@VERSION@@",
|
||
|
)
|
||
|
--
|
||
|
2.41.0
|
||
|
|