gentoo/dev-python/plotly/files/plotly-5.8.0-fix-versioneer-import.patch
Sam James 74b87a43ec
dev-python/plotly: add link to upstream PR
Bug: https://bugs.gentoo.org/841002
Signed-off-by: Sam James <sam@gentoo.org>
2022-06-03 07:33:09 +01:00

16 lines
541 B
Diff

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