diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-04-20 20:36:12 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-04-20 20:37:51 +0200 |
commit | a15a793fe92f29bd2dc6802571c3c42a8d05ce62 (patch) | |
tree | bf2997238c97536f4f463cbbd8af2b51737ed331 | |
parent | a80873e2a041f6e060c82467e96a1f3dee6eb4f4 (diff) | |
download | pygobject-a15a793fe92f29bd2dc6802571c3c42a8d05ce62.tar.gz |
setup.py: fix distcheck
Add all the meson related files to the manifest
-rw-r--r-- | MANIFEST.in | 8 | ||||
-rwxr-xr-x | setup.py | 6 |
2 files changed, 9 insertions, 5 deletions
diff --git a/MANIFEST.in b/MANIFEST.in index b0770549..25de999e 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -6,8 +6,12 @@ include tools/pygi-convert.sh include pygobject.doap include README.rst include .gitlab-ci.yml +include subprojects/*.wrap +include meson.build +include meson_options.txt recursive-include examples *.py *.png *.css *.ui *.gif *.gresource *.jpg *.xml -recursive-include gi *.h -recursive-include tests *.py *.c *.h *.xml *.supp +recursive-include gi *.h meson.build +recursive-include tests *.py *.c *.h *.xml *.supp meson.build recursive-include docs *.rst *.svg LICENSE *.ico *.png *.css *.py *.dia Makefile recursive-include .gitlab-ci *.sh *.rst *.py Dockerfile* +recursive-include pygtkcompat meson.build @@ -320,9 +320,9 @@ class distcheck(du_sdist): assert process.returncode == 0 tracked_files = out.splitlines() - for ignore in [".gitignore"]: - if ignore in tracked_files: - tracked_files.remove(ignore) + tracked_files = [ + f for f in tracked_files + if os.path.basename(f) not in [".gitignore"]] diff = set(tracked_files) - set(included_files) assert not diff, ( |