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 7ddbc04 commit 82f54e4Copy full SHA for 82f54e4
setup.py
@@ -147,6 +147,8 @@ def write_to_python_file(cls, path: str) -> None:
147
print(f"WD files: {list(os.listdir(os.getcwd()))}", file=sys.stderr)
148
print(f"Pip out: {list(os.listdir(os.getcwd() + "/pip-out"))}", file=sys.stderr)
149
150
+ os.makedirs(os.path.dirname(path), exist_ok=True)
151
+
152
try:
153
path1 = os.path.dirname(path)
154
path2 = os.path.dirname(path1)
@@ -155,7 +157,7 @@ def write_to_python_file(cls, path: str) -> None:
155
157
print(f"Files at {path1}: {list(os.listdir(path1))}", file=sys.stderr)
156
158
finally:
159
pass
-
160
161
lines = [
162
"from typing import Optional",
163
'__all__ = ["__version__", "git_version"]',
0 commit comments