1diff --git a/setup.py b/setup.py
2index e7487100..10d36520 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@@ -141,13 +140,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/__init__.py b/src/debugpy/__init__.py
30index baa5a7c5..53553272 100644
31--- a/src/debugpy/__init__.py
32+++ b/src/debugpy/__init__.py
33@@ -27,7 +27,6 @@ __all__ = [
34 import codecs
35 import os
36
37-from debugpy import _version
38 from debugpy.common import compat
39
40
41@@ -204,7 +203,7 @@ def trace_this_thread(should_trace):
42 return api.trace_this_thread(should_trace)
43
44
45-__version__ = _version.get_versions()["version"]
46+__version__ = "@version@"
47
48 # Force absolute path on Python 2.
49 __file__ = os.path.abspath(__file__)