From 5492853d7b84b4e1d0b11b234e32252ba8d1608d Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Mon, 6 Jun 2016 14:08:59 +0200 Subject: python: Improve the documentation. * lang/python/Makefile.am: Copy the README file. * lang/python/README: Rename, convert to org, and update. * lang/python/pyme/__init__.py: Move license out of the docstring, update docstring. * lang/python/pyme/core.py: Add and update docstrings. Signed-off-by: Justus Winter --- lang/python/Makefile.am | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'lang/python/Makefile.am') diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am index 2c84f2b5..18005bf9 100644 --- a/lang/python/Makefile.am +++ b/lang/python/Makefile.am @@ -16,16 +16,21 @@ # You should have received a copy of the GNU Lesser General Public # License along with this program; if not, see . -EXTRA_DIST = README.rst +EXTRA_DIST = README SUBDIRS = tests +COPY_FILES = \ + $(srcdir)/README \ + $(srcdir)/pyme \ + $(srcdir)/helpers.c $(srcdir)/helpers.h + # Cleanup gpgme.h from deprecated functions and typedefs. gpgme.h: ../../src/gpgme.h $(srcdir)/gpgme-h-clean.py $(PYTHON) $(srcdir)/gpgme-h-clean.py $< >$@ # For VPATH builds we need to copy some files because Python's # distutils are not VPATH-aware. -copystamp: $(srcdir)/pyme $(srcdir)/helpers.c $(srcdir)/helpers.h +copystamp: $(COPY_FILES) if test "$(srcdir)" != "$(builddir)" ; then cp -r $^ . ; fi touch $@ -- cgit v1.2.3