MCPcopy Index your code
hub / github.com/kivy/python-for-android / _read_configuration

Method _read_configuration

pythonforandroid/toolchain.py:780–791  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

778
779 @staticmethod
780 def _read_configuration():
781 # search for a .p4a configuration file in the current directory
782 if not exists(".p4a"):
783 return
784 info("Reading .p4a configuration")
785 with open(".p4a") as fd:
786 lines = fd.readlines()
787 lines = [shlex.split(line)
788 for line in lines if not line.startswith("#")]
789 for line in lines:
790 for arg in line:
791 sys.argv.append(arg)
792
793 def recipes(self, args):
794 """

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected