Migration from setuptools_scm to tbump
diff --git a/ChangeLog b/ChangeLog
index ea32da8..8d88d26 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,9 @@
..
Put new features and bugfixes here and also in 'doc/whatsnew/2.9.rst'
+* ``setuptools_scm`` has been removed and replaced by ``tbump`` in order to not
+ have hidden runtime dependencies to setuptools
+
* Appveyor is no longer used in the continuous integration
* Added ``deprecated-decorator``: Emitted when deprecated decorator is used.
diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py
index 1a1d99d..88b47fc 100644
--- a/pylint/__pkginfo__.py
+++ b/pylint/__pkginfo__.py
@@ -2,12 +2,7 @@
# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
from typing import Tuple
-from pkg_resources import DistributionNotFound, get_distribution
-
-try:
- __version__ = get_distribution("pylint").version
-except DistributionNotFound:
- __version__ = "2.8.2+"
+__version__ = "2.9.0-dev0"
def get_numversion_from_version(v: str) -> Tuple:
diff --git a/setup.cfg b/setup.cfg
index 963101b..056e2a6 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,6 @@
[metadata]
name = pylint
+version = attr: pylint.__pkginfo__.__version__
description = python code static checker
long_description = file: README.rst
long_description_content_type = text/x-rst
@@ -45,8 +46,6 @@
mccabe>=0.6,<0.7
toml>=0.7.1
colorama;sys_platform=="win32"
-setup_requires =
- setuptools_scm
python_requires = ~=3.6
[options.packages.find]
diff --git a/setup.py b/setup.py
index d5d43d7..6068493 100644
--- a/setup.py
+++ b/setup.py
@@ -1,3 +1,3 @@
from setuptools import setup
-setup(use_scm_version=True)
+setup()