prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  .jam files not installed
  The user-config.jam in https://github.com/kivy/python-for-android/tree/master/pythonforandroid/recipes/boost does not show up in the installed p4a recipes folder /home/paul/.local/lib/python2.7/site-packages/pythonforandroid/recipes/boost/
  
  Perhaps .jam files have to be added to this array as well: https://github.com/kived/python-for-android/commit/93fcf656e2aafc6a75ee06dab3e471e1eb509d87
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `setup.py`
  Content:
  ```
  1 
  2 from setuptools import setup, find_packages
  3 from os import walk
  4 from os.path import join, dirname, sep
  5 import os
  6 import glob
  7 
  8 # NOTE: All package data should also be set in MANIFEST.in
  9 
  10 packages = find_packages()
  11 
  12 package_data = {'': ['*.tmpl',
  13                      '*.patch', ], }
  14 
  15 data_files = []
  16 
  17 # By specifying every file manually, package_data will be able to
  18 # include them in binary distributions. Note that we have to add
  19 # everything as a 'pythonforandroid' rule, using '' apparently doesn't
  20 # work.
  21 def recursively_include(results, directory, patterns):
  22     for root, subfolders, files in walk(directory):
  23         for fn in files:
  24             if not any([glob.fnmatch.fnmatch(fn, pattern) for pattern in patterns]):
  25                 continue
  26             filename = join(root, fn)
  27             directory = 'pythonforandroid'
  28             if directory not in results:
  29                 results[directory] = []
  30             results[directory].append(join(*filename.split(sep)[1:]))
  31 
  32 recursively_include(package_data, 'pythonforandroid/recipes',
  33                     ['*.patch', 'Setup*', '*.pyx', '*.py', '*.c', '*.h',
  34                      '*.mk', ])
  35 recursively_include(package_data, 'pythonforandroid/bootstraps',
  36                     ['*.properties', '*.xml', '*.java', '*.tmpl', '*.txt', '*.png',
  37                      '*.mk', '*.c', '*.h', '*.py', '*.sh', '*.jpg', '*.aidl', ])
  38 recursively_include(package_data, 'pythonforandroid/bootstraps',
  39                     ['sdl-config', ])
  40 recursively_include(package_data, 'pythonforandroid',
  41                     ['liblink', 'biglink', 'liblink.sh'])
  42 
  43 setup(name='python-for-android',
  44       version='0.3',
  45       description='Android APK packager for Python scripts and apps',
  46       author='The Kivy team',
  47       author_email='kivy-dev@googlegroups.com',
  48       url='https://github.com/kivy/python-for-android', 
  49       license='MIT', 
  50       install_requires=['appdirs', 'colorama>0.3', 'sh', 'jinja2', 'argparse',
  51                         'six'],
  52       entry_points={
  53           'console_scripts': [
  54               'python-for-android = pythonforandroid.toolchain:main',
  55               'p4a = pythonforandroid.toolchain:main',
  56               ],
  57           'distutils.commands': [
  58               'bdist_apk = pythonforandroid.bdist_apk:BdistAPK',
  59               ],
  60           },
  61       classifiers = [
  62           'Development Status :: 3 - Alpha',
  63           'Intended Audience :: Developers',
  64           'License :: OSI Approved :: MIT License',
  65           'Operating System :: Microsoft :: Windows',
  66           'Operating System :: OS Independent',
  67           'Operating System :: POSIX :: Linux',
  68           'Operating System :: MacOS :: MacOS X',
  69           'Programming Language :: C',
  70           'Programming Language :: Python :: 2',
  71           'Programming Language :: Python :: 3',
  72           'Topic :: Software Development',
  73           'Topic :: Utilities',
  74           ],
  75       packages=packages,
  76       package_data=package_data,
  77       )
  78
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -31,7 +31,7 @@
   
   recursively_include(package_data, 'pythonforandroid/recipes',
                       ['*.patch', 'Setup*', '*.pyx', '*.py', '*.c', '*.h',
  -                     '*.mk', ])
  +                     '*.mk', '*.jam', ])
   recursively_include(package_data, 'pythonforandroid/bootstraps',
                       ['*.properties', '*.xml', '*.java', '*.tmpl', '*.txt', '*.png',
                        '*.mk', '*.c', '*.h', '*.py', '*.sh', '*.jpg', '*.aidl', ])
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -31,7 +31,7 @@\n \n recursively_include(package_data, 'pythonforandroid/recipes',\n                     ['*.patch', 'Setup*', '*.pyx', '*.py', '*.c', '*.h',\n-                     '*.mk', ])\n+                     '*.mk', '*.jam', ])\n recursively_include(package_data, 'pythonforandroid/bootstraps',\n                     ['*.properties', '*.xml', '*.java', '*.tmpl', '*.txt', '*.png',\n                      '*.mk', '*.c', '*.h', '*.py', '*.sh', '*.jpg', '*.aidl', ])\n", "issue": ".jam files not installed\nThe user-config.jam in https://github.com/kivy/python-for-android/tree/master/pythonforandroid/recipes/boost does not show up in the installed p4a recipes folder /home/paul/.local/lib/python2.7/site-packages/pythonforandroid/recipes/boost/\n\nPerhaps .jam files have to be added to this array as well: https://github.com/kived/python-for-android/commit/93fcf656e2aafc6a75ee06dab3e471e1eb509d87\n\n", "before_files": [{"content": "\nfrom setuptools import setup, find_packages\nfrom os import walk\nfrom os.path import join, dirname, sep\nimport os\nimport glob\n\n# NOTE: All package data should also be set in MANIFEST.in\n\npackages = find_packages()\n\npackage_data = {'': ['*.tmpl',\n                     '*.patch', ], }\n\ndata_files = []\n\n# By specifying every file manually, package_data will be able to\n# include them in binary distributions. Note that we have to add\n# everything as a 'pythonforandroid' rule, using '' apparently doesn't\n# work.\ndef recursively_include(results, directory, patterns):\n    for root, subfolders, files in walk(directory):\n        for fn in files:\n            if not any([glob.fnmatch.fnmatch(fn, pattern) for pattern in patterns]):\n                continue\n            filename = join(root, fn)\n            directory = 'pythonforandroid'\n            if directory not in results:\n                results[directory] = []\n            results[directory].append(join(*filename.split(sep)[1:]))\n\nrecursively_include(package_data, 'pythonforandroid/recipes',\n                    ['*.patch', 'Setup*', '*.pyx', '*.py', '*.c', '*.h',\n                     '*.mk', ])\nrecursively_include(package_data, 'pythonforandroid/bootstraps',\n                    ['*.properties', '*.xml', '*.java', '*.tmpl', '*.txt', '*.png',\n                     '*.mk', '*.c', '*.h', '*.py', '*.sh', '*.jpg', '*.aidl', ])\nrecursively_include(package_data, 'pythonforandroid/bootstraps',\n                    ['sdl-config', ])\nrecursively_include(package_data, 'pythonforandroid',\n                    ['liblink', 'biglink', 'liblink.sh'])\n\nsetup(name='python-for-android',\n      version='0.3',\n      description='Android APK packager for Python scripts and apps',\n      author='The Kivy team',\n      author_email='kivy-dev@googlegroups.com',\n      url='https://github.com/kivy/python-for-android', \n      license='MIT', \n      install_requires=['appdirs', 'colorama>0.3', 'sh', 'jinja2', 'argparse',\n                        'six'],\n      entry_points={\n          'console_scripts': [\n              'python-for-android = pythonforandroid.toolchain:main',\n              'p4a = pythonforandroid.toolchain:main',\n              ],\n          'distutils.commands': [\n              'bdist_apk = pythonforandroid.bdist_apk:BdistAPK',\n              ],\n          },\n      classifiers = [\n          'Development Status :: 3 - Alpha',\n          'Intended Audience :: Developers',\n          'License :: OSI Approved :: MIT License',\n          'Operating System :: Microsoft :: Windows',\n          'Operating System :: OS Independent',\n          'Operating System :: POSIX :: Linux',\n          'Operating System :: MacOS :: MacOS X',\n          'Programming Language :: C',\n          'Programming Language :: Python :: 2',\n          'Programming Language :: Python :: 3',\n          'Topic :: Software Development',\n          'Topic :: Utilities',\n          ],\n      packages=packages,\n      package_data=package_data,\n      )\n", "path": "setup.py"}], "after_files": [{"content": "\nfrom setuptools import setup, find_packages\nfrom os import walk\nfrom os.path import join, dirname, sep\nimport os\nimport glob\n\n# NOTE: All package data should also be set in MANIFEST.in\n\npackages = find_packages()\n\npackage_data = {'': ['*.tmpl',\n                     '*.patch', ], }\n\ndata_files = []\n\n# By specifying every file manually, package_data will be able to\n# include them in binary distributions. Note that we have to add\n# everything as a 'pythonforandroid' rule, using '' apparently doesn't\n# work.\ndef recursively_include(results, directory, patterns):\n    for root, subfolders, files in walk(directory):\n        for fn in files:\n            if not any([glob.fnmatch.fnmatch(fn, pattern) for pattern in patterns]):\n                continue\n            filename = join(root, fn)\n            directory = 'pythonforandroid'\n            if directory not in results:\n                results[directory] = []\n            results[directory].append(join(*filename.split(sep)[1:]))\n\nrecursively_include(package_data, 'pythonforandroid/recipes',\n                    ['*.patch', 'Setup*', '*.pyx', '*.py', '*.c', '*.h',\n                     '*.mk', '*.jam', ])\nrecursively_include(package_data, 'pythonforandroid/bootstraps',\n                    ['*.properties', '*.xml', '*.java', '*.tmpl', '*.txt', '*.png',\n                     '*.mk', '*.c', '*.h', '*.py', '*.sh', '*.jpg', '*.aidl', ])\nrecursively_include(package_data, 'pythonforandroid/bootstraps',\n                    ['sdl-config', ])\nrecursively_include(package_data, 'pythonforandroid',\n                    ['liblink', 'biglink', 'liblink.sh'])\n\nsetup(name='python-for-android',\n      version='0.3',\n      description='Android APK packager for Python scripts and apps',\n      author='The Kivy team',\n      author_email='kivy-dev@googlegroups.com',\n      url='https://github.com/kivy/python-for-android', \n      license='MIT', \n      install_requires=['appdirs', 'colorama>0.3', 'sh', 'jinja2', 'argparse',\n                        'six'],\n      entry_points={\n          'console_scripts': [\n              'python-for-android = pythonforandroid.toolchain:main',\n              'p4a = pythonforandroid.toolchain:main',\n              ],\n          'distutils.commands': [\n              'bdist_apk = pythonforandroid.bdist_apk:BdistAPK',\n              ],\n          },\n      classifiers = [\n          'Development Status :: 3 - Alpha',\n          'Intended Audience :: Developers',\n          'License :: OSI Approved :: MIT License',\n          'Operating System :: Microsoft :: Windows',\n          'Operating System :: OS Independent',\n          'Operating System :: POSIX :: Linux',\n          'Operating System :: MacOS :: MacOS X',\n          'Programming Language :: C',\n          'Programming Language :: Python :: 2',\n          'Programming Language :: Python :: 3',\n          'Topic :: Software Development',\n          'Topic :: Utilities',\n          ],\n      packages=packages,\n      package_data=package_data,\n      )\n", "path": "setup.py"}]}