summaryrefslogtreecommitdiff
path: root/setup.py
blob: 6768ee47785af7f4f16520f10dae78b388197919 (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__, use_scm_version=True)  # pylint: disable=undefined-variable