Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 15 additions & 13 deletions pythonforandroid/toolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,20 @@ def __init__(self):
dest="blacklist_requirements",
default='')

generic_parser.add_argument(
'--use-setup-py', dest="use_setup_py",
action='store_true', default=False,
help="Process the setup.py of a project if present. " +
"(Experimental!")
generic_parser.add_argument(
'--ignore-setup-py', dest="ignore_setup_py",
action='store_true', default=False,
help="Don't run the setup.py of a project if present. " +
"This may be required if the setup.py is not " +
"designed to work inside p4a (e.g. by installing " +
"dependencies that won't work or aren't desired " +
"on Android")

generic_parser.add_argument(
'--bootstrap',
help='The bootstrap to build with. Leave unset to choose '
Expand Down Expand Up @@ -497,19 +511,7 @@ def __init__(self):
help='the directory with the app source code files' +
' (containing your main.py entrypoint)',
required=False, default=None)
parser_packaging.add_argument(
'--use-setup-py', dest="use_setup_py",
action='store_true', default=False,
help="Process the setup.py of a project if present. " +
"(Experimental!")
parser_packaging.add_argument(
'--ignore-setup-py', dest="ignore_setup_py",
action='store_true', default=False,
help="Don't run the setup.py of a project if present. " +
"This may be required if the setup.py is not " +
"designed to work inside p4a (e.g. by installing " +
"dependencies that won't work or aren't desired " +
"on Android")

parser_packaging.add_argument(
'--release', dest='build_mode', action='store_const',
const='release', default='debug',
Expand Down
Loading