blob: 37582b05429dae77486f00f33b968c63391935f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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
|