diff options
| author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-04-29 21:47:31 +0200 |
|---|---|---|
| committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-05-24 21:07:56 +0200 |
| commit | 664555ac1f26113c78397297cbf340fb64736a24 (patch) | |
| tree | e31e0180524c0e6904985171243daeab66f33504 /setup.py | |
| parent | bea1069da15b9c163fcf559c184bc44bc5dec8d4 (diff) | |
| download | astroid-git-664555ac1f26113c78397297cbf340fb64736a24.tar.gz | |
Remove circular definition of __version__
Remove pre-commit dependencies from test requirements
there was a circular requirement between pylint in
pre-commit requirements that needed astroid and astroid.
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -1,10 +1,3 @@ -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 +setup(use_scm_version=True) |
