8000
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.
2 parents f84e96b + 683d94b commit 65f0ba0Copy full SHA for 65f0ba0
pythonforandroid/bootstraps/pygame/__init__.py
@@ -33,7 +33,6 @@ def run_distribute(self):
33
34
info('Copying default files')
35
shprint(sh.cp, '-a', join(self.build_dir, 'project.properties'), '.')
36
- shprint(sh.cp, '-a', join(src_path, 'local.properties'), '.')
37
shprint(sh.cp, '-a', join(src_path, 'build.py'), '.')
38
shprint(sh.cp, '-a', join(src_path, 'buildlib'), '.')
39
shprint(sh.cp, '-a', join(src_path, 'src'), '.')
@@ -42,6 +41,9 @@ def run_distribute(self):
42
41
shprint(sh.cp, '-a', join(src_path, 'blacklist.txt'), '.')
43
shprint(sh.cp, '-a', join(src_path, 'whitelist.txt'), '.')
44
+ with open('local.properties', 'w') as fileh:
45
+ fileh.write('sdk.dir={}'.format(self.ctx.sdk_dir))
46
+
47
info('Copying python distribution')
48
hostpython = sh.Command(self.ctx.hostpython)
49
# AND: This *doesn't* need to be in arm env?
0 commit comments