Skip to content
Snippets Groups Projects
  1. Jun 01, 2021
    • John Snow's avatar
      python: add MANIFEST.in · eae4e442
      John Snow authored
      
      When creating a source or binary distribution via 'python3 setup.py
      <sdist|bdist>', the VERSION and PACKAGE.rst files aren't bundled by
      default. Create a MANIFEST.in file that instructs the build tools to
      include these so that installation from these files won't fail.
      
      This is required by 'tox', as well as by the tooling needed to upload
      packages to PyPI.
      
      Exclude the 'README.rst' file -- that's intended as a guidebook to our
      source tree, not a file that needs to be distributed.
      
      Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
      Reviewed-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      Reviewed-by: default avatarCleber Rosa <crosa@redhat.com>
      Message-id: 20210527211715.394144-14-jsnow@redhat.com
      Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
      eae4e442
Loading