Skip to content

Commit ef9e75b

Browse files
committed
Made setup.py intergation pass names with spaces
1 parent 7c1da72 commit ef9e75b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pythonforandroid/bdistapk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def finalize_options(self):
5151
# provide them
5252
if not argv_contains('--name'):
5353
name = self.distribution.get_name()
54-
sys.argv.append('--name={}'.format(name))
54+
sys.argv.append('--name="{}"'.format(name))
5555
self.name = name
5656

5757
if not argv_contains('--package'):

pythonforandroid/bootstraps/sdl2/build/build.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,9 @@ def parse_args(args=None):
457457
args = ap.parse_args(args)
458458
args.ignore_path = []
459459

460+
if args.name and args.name[0] == '"' and args.name[-1] == '"':
461+
args.name = args.name[1:-1]
462+
460463
if args.billing_pubkey:
461464
print('Billing not yet supported in sdl2 bootstrap!')
462465
exit(1)

0 commit comments

Comments
 (0)