bootstrap script: slight cleanup

This commit is contained in:
KaDiWa 2023-01-27 22:10:10 +01:00
parent fba9f33c7c
commit 385dbff9e5
No known key found for this signature in database
GPG key ID: 0B52AE391C674CE5
3 changed files with 152 additions and 147 deletions

2
x.py
View file

@ -22,7 +22,7 @@ if sys.version_info.major < 3:
pass
rust_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.append(os.path.join(rust_dir, "src", "bootstrap"))
sys.path[:0] = [os.path.join(rust_dir, "src", "bootstrap")]
import bootstrap
bootstrap.main()