1diff --git a/vint/linting/cli.py b/vint/linting/cli.py
2index 55db52e..97f33e1 100644
3--- a/vint/linting/cli.py
4+++ b/vint/linting/cli.py
5@@ -1,7 +1,6 @@
6 import sys
7 from argparse import ArgumentParser
8 from pathlib import PosixPath
9-import pkg_resources
10 import logging
11
12 from vint.linting.linter import Linter
13@@ -150,14 +149,7 @@ class CLI(object):
14
15
16 def _get_version(self):
17- # In unit tests, pkg_resources cannot find vim-vint.
18- # So, I decided to return dummy version
19- try:
20- version = pkg_resources.require('vim-vint')[0].version
21- except pkg_resources.DistributionNotFound:
22- version = 'test_mode'
23-
24- return version
25+ return "@version@"
26
27
28 def _adjust_log_level(self, env):