1diff --git a/setup.py b/setup.py
2index d16a27c5..a7e407e1 100644
3--- a/setup.py
4+++ b/setup.py
5@@ -12,7 +12,6 @@ import sys
6
7
8 sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
9-import versioneer # noqa
10
11 del sys.path[0]
12
13@@ -145,13 +144,13 @@ if __name__ == "__main__":
14 if platforms is not None:
15 extras["platforms"] = platforms
16
17- cmds = versioneer.get_cmdclass()
18+ cmds = {}
19 override_build(cmds)
20 override_build_py(cmds)
21
22 setuptools.setup(
23 name="debugpy",
24- version=versioneer.get_version(),
25+ version="@version@",
26 description="An implementation of the Debug Adapter Protocol for Python", # noqa
27 long_description=long_description,
28 long_description_content_type="text/markdown",
29diff --git a/src/debugpy/public_api.py b/src/debugpy/public_api.py
30index c61a2607..f26f8272 100644
31--- a/src/debugpy/public_api.py
32+++ b/src/debugpy/public_api.py
33@@ -7,8 +7,6 @@ from __future__ import annotations
34 import functools
35 import typing
36
37-from debugpy import _version
38-
39
40 # Expose debugpy.server API from subpackage, but do not actually import it unless
41 # and until a member is invoked - we don't want the server package loaded in the
42@@ -192,4 +190,4 @@ def trace_this_thread(__should_trace: bool):
43 """
44
45
46-__version__: str = _version.get_versions()["version"]
47+__version__: str = "@version@"