summaryrefslogtreecommitdiff
path: root/setup.py
blob: 71b6fc5e65564fdf6d5ec068301335378ca7a121 (plain)
1
2
3
4
5
6
7
8
9
10
from pathlib import Path

from setuptools import setup

pkginfo = Path(__file__).parent / "astroid/__pkginfo__.py"

with open(pkginfo, "rb") as fobj:
    exec(compile(fobj.read(), pkginfo, "exec"), locals())  # pylint: disable=exec-used

setup(version=__version__)  # pylint: disable=undefined-variable