  include README.md
  include LICENSE.md
  recursive-include rest_framework/static *.js *.css *.png *.eot *.svg *.ttf *.woff
  recursive-include rest_framework/templates *.html
  global-exclude __pycache__
  global-exclude *.py[co]
 
</s> remove     packages=get_packages('rest_framework'),
    package_data=get_package_data('rest_framework'),
 </s> add     packages=find_packages(exclude=['tests*']),
    include_package_data=True, </s> remove def get_packages(package):
    """
    Return root package and all sub-packages.
    """
    return [dirpath
            for dirpath, dirnames, filenames in os.walk(package)
            if os.path.exists(os.path.join(dirpath, '__init__.py'))]


def get_package_data(package):
    """
    Return all files under the root package, that are not in a
    package themselves.
    """
    walk = [(dirpath.replace(package + os.sep, '', 1), filenames)
            for dirpath, dirnames, filenames in os.walk(package)
            if not os.path.exists(os.path.join(dirpath, '__init__.py'))]

    filepaths = []
    for base, filenames in walk:
        filepaths.extend([os.path.join(base, filename)
                          for filename in filenames])
    return {package: filepaths}


 </s> add  </s> remove from setuptools import setup
 </s> add from setuptools import setup, find_packages
recursive-include rest_framework/templates *.html schema.js
  include README.md
  include LICENSE.md
  recursive-include rest_framework/static *.js *.css *.png *.eot *.svg *.ttf *.woff
recursive-include rest_framework/templates *.html schema.js
  global-exclude __pycache__
  global-exclude *.py[co]
keep keep keep replace keep keep
 Fix packaging (#5624)

* Packaging should use manifest

* Add schema.js template to MANIFEST 
MANIFEST.in