diff options
author | Simon McVittie <smcv@collabora.com> | 2018-04-21 11:52:49 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2018-04-21 11:52:49 +0100 |
commit | fd4bd409e757dca1cee47188f5fb8a50ee9744c7 (patch) | |
tree | 22a346b5b43313c9bf8650eb9d34fcf8c97ce23b | |
parent | cf961cbdc28a886fbaffb1d14bb73d8683ff8363 (diff) |
Include PKG-INFO and egg_info in dist tarballs
PyPI no longer accepts uploads without these.
Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Makefile.am | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -30,7 +30,9 @@ /dbus-python.pc /dbus/.doc-needs-rebuild-stamp /dbus/_version.py +/dbus_python.egg-info/ /depcomp +/dist/ /install-sh /libtool /ltmain.sh diff --git a/Makefile.am b/Makefile.am index 61c6c9e..d0ed822 100644 --- a/Makefile.am +++ b/Makefile.am @@ -364,11 +364,14 @@ dist-hook: dist-ChangeLog echo $(VERSION) > $(distdir)/.version touch $(distdir)/MANIFEST touch $(distdir)/MANIFEST.in + ( cd $(distdir) && $(PYTHON) setup.py egg_info ) + cp $(distdir)/dbus_python.egg-info/PKG-INFO $(distdir) ( cd $(distdir) && find -type d -o -print ) | \ LC_ALL=C sort | \ $(SED) -e 's|^\./||' \ > $(distdir)/MANIFEST sed -e 's/.*/include &/' < $(distdir)/MANIFEST > $(distdir)/MANIFEST.in + cp $(distdir)/MANIFEST $(distdir)/dbus_python.egg-info/SOURCES.txt TXT_RSTDOCS = \ doc/tutorial.txt \ |