1diff --git a/setup.py b/setup.py
2index cfec60d..32ca206 100644
3--- a/setup.py
4+++ b/setup.py
5@@ -24,7 +24,6 @@ elif "--abi" in sys.argv:
6 from setuptools import setup # noqa
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@@ -86,7 +85,7 @@ if __name__ == "__main__":
14 if not os.getenv("SKIP_CYTHON_BUILD"):
15 cython_build()
16
17- cmds = versioneer.get_cmdclass()
18+ cmds = {}
19 cmds["bdist_wheel"] = bdist_wheel
20
21 extras = {}
22@@ -96,7 +95,7 @@ if __name__ == "__main__":
23
24 setup(
25 name="debugpy",
26- version=versioneer.get_version(),
27+ version="@version@",
28 description="An implementation of the Debug Adapter Protocol for Python", # noqa
29 long_description=long_description,
30 long_description_content_type="text/markdown",
31diff --git a/src/debugpy/__init__.py b/src/debugpy/__init__.py
32index baa5a7c..5355327 100644
33--- a/src/debugpy/__init__.py
34+++ b/src/debugpy/__init__.py
35@@ -27,7 +27,6 @@ __all__ = [
36 import codecs
37 import os
38
39-from debugpy import _version
40 from debugpy.common import compat
41
42
43@@ -204,7 +203,7 @@ def trace_this_thread(should_trace):
44 return api.trace_this_thread(should_trace)
45
46
47-__version__ = _version.get_versions()["version"]
48+__version__ = "@version@"
49
50 # Force absolute path on Python 2.
51 __file__ = os.path.abspath(__file__)