
from pythonforandroid.bdist_apk import register_args

register_args('--requirements=sdl2,pyjnius,kivy,python2',
              '--android-api=19',
              '--ndk-dir=/home/asandy/android/crystax-ndk-10.3.1',
              '--dist-name=bdisttest',
              '--ndk-version=10.3.1')

from setuptools import setup, find_packages
from distutils.extension import Extension

package_data = {'': ['*.py',
                     '*.png']
                }

packages = find_packages()
print('packages are', packages)

setup(
    name='testapp_setup',
    version='1.1',
    description='p4a setup.py test',
    author='Alexander Taylor',
    author_email='alexanderjohntaylor@gmail.com',
    packages=find_packages(),
    package_data={'testapp': ['*.py', '*.png']}
)


from pythonforandroid.bdist_apk import register_args

register_args('--requirements=sdl2,pyjnius,kivy,python2',
              '--android-api=19',
              '--ndk-dir=/home/asandy/android/crystax-ndk-10.3.1',
              '--dist-name=bdisttest',
              '--ndk-version=10.3.1')

options = {'apk': {'--debug': '1',
                   }}

from setuptools import setup, find_packages
from distutils.extension import Extension

package_data = {'': ['*.py',
                     '*.png']
                }

packages = find_packages()
print('packages are', packages)

setup(
    name='testapp_setup',
    version='1.1',
    description='p4a setup.py test',
    author='Alexander Taylor',
    author_email='alexanderjohntaylor@gmail.com',
    packages=find_packages(),
    options=options,
    package_data={'testapp': ['*.py', '*.png']}
)

Add (not working) options to setup.py