Skip to content

Fix setup.py parser config.#3350

Open
T-Dynamos wants to merge 1 commit into
kivy:developfrom
T-Dynamos:setup_fix
Open

Fix setup.py parser config.#3350
T-Dynamos wants to merge 1 commit into
kivy:developfrom
T-Dynamos:setup_fix

Conversation

@T-Dynamos

Copy link
Copy Markdown
Member

Move --use-setup-py and --ignore-setup-py to generic_parser.

Problem : --ignore-setup-py (and --use-setup-py) were defined only on parser_packaging, which is a parent of the apk/aar/aab subcommands but not of create.

When running p4a create --ignore-setup-py ..., the flag was silently dropped into unknown_args by parse_known_args, and args.

ignore_setup_py was never set (always defaulted to False). This made the flag a no-op for the
create command.

PS: AI assisted PR.

@T-Dynamos T-Dynamos requested review from kuzeyron and removed request for kuzeyron June 25, 2026 05:45
@T-Dynamos T-Dynamos marked this pull request as draft June 25, 2026 05:51
@T-Dynamos T-Dynamos requested review from AndreMiras and kuzeyron June 25, 2026 06:00
@T-Dynamos T-Dynamos marked this pull request as ready for review June 25, 2026 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants