https://bugs.gentoo.org/841002 https://github.com/plotly/plotly.py/pull/3757 https://github.com/dandi/dandi-cli/pull/998 https://github.com/mgorny/gpep517/issues/1 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ from distutils import log # ensure the current directory is on sys.path; so versioneer can be imported # when pip uses PEP 517/518 build rules. # https://github.com/python-versioneer/python-versioneer/issues/193 -sys.path.append(os.path.dirname(__file__)) +sys.path.insert(0, os.path.dirname(__file__)) import versioneer