We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6df5a9 commit 31737a2Copy full SHA for 31737a2
setup.py
@@ -9,7 +9,9 @@
9
10
# Add current folder to path
11
# This is required to import versioneer in an isolated pip build
12
-sys.path.append(os.path.dirname(os.path.abspath(__file__)))
+# Prepending allows not to break on a non-isolated build when versioneer
13
+# is already installed (c.f. https://github.com/scikit-build/cmake-python-distributions/issues/171)
14
+sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
15
16
import versioneer # noqa: E402
17
0 commit comments