diff options
Diffstat (limited to '')
| -rwxr-xr-x | lang/python/setup.py.in | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/lang/python/setup.py.in b/lang/python/setup.py.in index 4c41673a..3d0b7305 100755 --- a/lang/python/setup.py.in +++ b/lang/python/setup.py.in @@ -23,7 +23,7 @@ import os, os.path, sys  import glob  import subprocess -# Out-of-tree build of the pyme3 bindings. +# Out-of-tree build of the gpg bindings.  gpg_error_config = ["gpg-error-config"]  gpgme_config_flags = ["--thread=pthread"]  gpgme_config = ["gpgme-config"] + gpgme_config_flags @@ -88,7 +88,7 @@ if not os.path.exists(gpg_error_h):          glob.glob(os.path.join(gpg_error_prefix, "include",                                 "*", "gpg-error.h"))[0] -print("Building pyme3 using {} and {}.".format(gpgme_h, gpg_error_h)) +print("Building python gpg module using {} and {}.".format(gpgme_h, gpg_error_h))  # Cleanup gpgme.h from deprecated functions and typedefs.  subprocess.check_call([sys.executable, "gpgme-h-clean.py", gpgme_h], @@ -152,15 +152,15 @@ class BuildExtFirstHack(build):          self.run_command('build_ext')          build.run(self) -swige = Extension("pyme._gpgme", ["gpgme.i", "helpers.c"], +swige = Extension("gpg._gpgme", ["gpgme.i", "helpers.c"],                    swig_opts = ['-py3', '-builtin', '-threads', -                               '-outdir', 'pyme'] + extra_swig_opts, +                               '-outdir', 'gpg'] + extra_swig_opts,                    include_dirs = include_dirs,                    define_macros = define_macros,                    library_dirs = library_dirs,                    extra_link_args = libs) -setup(name="pyme3", +setup(name="gpg",        cmdclass={'build': BuildExtFirstHack},        version="@VERSION@",        description='Python bindings for GPGME GnuPG cryptography library', @@ -170,8 +170,8 @@ setup(name="pyme3",        author_email='[email protected]',        url='https://www.gnupg.org',        ext_modules=[swige], -      packages = ['pyme', 'pyme.constants', 'pyme.constants.data', -                  'pyme.constants.keylist', 'pyme.constants.sig'], +      packages = ['gpg', 'gpg.constants', 'gpg.constants.data', +                  'gpg.constants.keylist', 'gpg.constants.sig'],        license="LGPL2.1+ (the library), GPL2+ (tests and examples)",        classifiers=[            'Development Status :: 4 - Beta', | 
