assert that should_fix_bins_and_dylibs has been run

This commit is contained in:
KaDiWa
2023-01-30 17:30:39 +01:00
parent b925031c5f
commit 043c634a9c
3 changed files with 56 additions and 43 deletions
+2 -1
View File
@@ -22,7 +22,8 @@ if sys.version_info.major < 3:
pass
rust_dir = os.path.dirname(os.path.abspath(__file__))
sys.path[:0] = [os.path.join(rust_dir, "src", "bootstrap")]
# For the import below, have Python search in src/bootstrap first.
sys.path.insert(0, os.path.join(rust_dir, "src", "bootstrap"))
import bootstrap
bootstrap.main()