From eae4e442caa087b2ef292a5fb6377236fa8423f2 Mon Sep 17 00:00:00 2001 From: John Snow Date: Thu, 27 May 2021 17:16:57 -0400 Subject: python: add MANIFEST.in When creating a source or binary distribution via 'python3 setup.py ', 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: John Snow Reviewed-by: Vladimir Sementsov-Ogievskiy Reviewed-by: Cleber Rosa Message-id: 20210527211715.394144-14-jsnow@redhat.com Signed-off-by: John Snow --- python/MANIFEST.in | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 python/MANIFEST.in (limited to 'python/MANIFEST.in') diff --git a/python/MANIFEST.in b/python/MANIFEST.in new file mode 100644 index 0000000000..7059ad2822 --- /dev/null +++ b/python/MANIFEST.in @@ -0,0 +1,3 @@ +include VERSION +include PACKAGE.rst +exclude README.rst -- cgit 1.4.1