Home GnuPG
Diffusion GPGME 49195c487e6c

python: simplify build, some fixups

Description

python: simplify build, some fixups

* lang/python/gpg/version.py.in: Rename to lang/python/version.py.in.
configure.ac: Generate version.py.in in lang/python.
* lang/python/MANIFEST.in: Include version.py explicitly.
* lang/python/gpg: Rename to 'src'.
* lang/python/Makefile.am: Do not copy source files, do not use absolute
directories, support lib64 in uninstall, clean also dist directory, use
symlink for gpg src.
* lang/python/setup.py.in: Use builddir, copy sources into builddir,
copy version.py into module.

Simplify build to symlink the gpg sources into builddir instead of
copying. This requires handling of version.py as generated file.

In addition apply some cleanups: Drop the absolution pathes, clean the
dist directory as well, support lib64 for sitelib at uninstall.

  • Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>

Details

Provenance
alonblAuthored on Apr 5 2017, 6:47 PM
justusCommitted on Apr 7 2017, 12:12 PM
Parents
rMe7d9c0c3d773: python: Fix vpath builds, fix distcheck.
Branches
Unknown
Tags
Unknown