auto dependency install

This commit is contained in:
Ayush Saini 2023-04-08 12:40:26 +05:30
parent c2297fb6aa
commit 6a1e71cedd
65 changed files with 31 additions and 45659 deletions

View file

@ -40,19 +40,12 @@ def migrate_to_aarch():
pass
# by default we have x86_64 setup
# if we found aarch64 system copy required files
if platform.processor() == 'aarch64':
sys.path += [
str(Path(Path(__file__).parent, 'dist', 'ba_data', 'python-site-package-aarch'))
]
if platform.processor() == 'aarch64':
print("We are on aarch64 system")
if os.path.exists(".we_are_good"):
pass
else:
migrate_to_aarch()
else:
sys.path += [
str(Path(Path(__file__).parent, 'dist', 'ba_data', 'python-site-package-x86'))
]
migrate_to_aarch()
# We make use of the bacommon and efro packages as well as site-packages
# included with our bundled Ballistica dist, so we need to add those paths
# before we import them.