Skip to content

Commit 64cc9ae

Browse files
committed
Update to versioneer 0.29 and devendor
1 parent 53e8f44 commit 64cc9ae

File tree

5 files changed

+5
-2071
lines changed

5 files changed

+5
-2071
lines changed

MANIFEST.in

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
include versioneer.py
21
include cuda/_version.py

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# is strictly prohibited.
88

99
[build-system]
10-
requires = ["setuptools", "setuptools-scm", "cython", "pyclibrary"]
10+
requires = ["setuptools", "versioneer[toml]==0.29", "cython", "pyclibrary"]
1111
build-backend = "setuptools.build_meta"
1212

1313
[project]

requirements.txt

+3
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ pytest>=6.2.4
33
pytest-benchmark>=3.4.1
44
numpy>=1.21.1
55
pyclibrary>=0.1.7
6+
setuptools
7+
tomli; python_version < "3.11"
8+
versioneer==0.29

setup.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,7 @@
1717
from setuptools import find_packages, setup
1818
from setuptools.extension import Extension
1919
from setuptools.command.build_ext import build_ext
20-
try:
21-
import versioneer
22-
except ImportError:
23-
sys.path.append(os.path.dirname(os.path.realpath(__file__)))
24-
import versioneer
20+
import versioneer
2521

2622
# ----------------------------------------------------------------------
2723
# Fetch configuration options

0 commit comments

Comments
 (0)