diff options
Diffstat (limited to 'dev-python/plotly/files')
| -rw-r--r-- | dev-python/plotly/files/plotly-5.8.0-fix-versioneer-import.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-python/plotly/files/plotly-5.8.0-fix-versioneer-import.patch b/dev-python/plotly/files/plotly-5.8.0-fix-versioneer-import.patch new file mode 100644 index 000000000000..37582b05429d --- /dev/null +++ b/dev-python/plotly/files/plotly-5.8.0-fix-versioneer-import.patch @@ -0,0 +1,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 + |
