1 diff --git a/setup.py b/setup.py
2 index d16a27c5..a7e407e1 100644
5 @@ -12,7 +12,6 @@ import sys
8 sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
9 -import versioneer # noqa
13 @@ -145,13 +144,13 @@ if __name__ == "__main__":
14 if platforms is not None:
15 extras["platforms"] = platforms
17 - cmds = versioneer.get_cmdclass()
20 override_build_py(cmds)
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",
29 diff --git a/src/debugpy/public_api.py b/src/debugpy/public_api.py
30 index 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
37 -from debugpy import _version
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):
46 -__version__: str = _version.get_versions()["version"]
47 +__version__: str = "@version@"