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 92f8464 commit 5bb3b0eCopy full SHA for 5bb3b0e
setup.py
@@ -64,6 +64,12 @@ def remove_tmp(taichi_dir):
64
65
66
class EggInfo(egg_info):
67
+ def finalize_options(self, *args, **kwargs):
68
+ if '' not in self.distribution.package_dir:
69
+ # XXX: skbuild loses the root package dir
70
+ self.distribution.package_dir[''] = package_dir
71
+ return super().finalize_options(*args, **kwargs)
72
+
73
def run(self):
74
taichi_dir = os.path.join(package_dir, 'taichi')
75
remove_tmp(taichi_dir)
0 commit comments