summaryrefslogtreecommitdiff
path: root/setup.py
blob: 47877d554c8a84f0fc8b9375759e8ea626daf44f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/master/COPYING

from pathlib import Path
from typing import Any, Dict

from setuptools import setup

HERE = Path(__file__).parent

__pkginfo__: Dict[str, Any] = {}
with open(HERE / "pylint/__pkginfo__.py", encoding="UTF-8") as f:
    exec(f.read(), __pkginfo__)  # pylint: disable=exec-used

if __name__ == "__main__":
    setup(version=__pkginfo__["__version__"])