Package: libpython3.5-minimal
Version: 3.5.2-5
Severity: normal

Sysconfig module points to site-packages directory instead of
dist-package if compared to distutils.sysconfig. If someone uses
Automake to build/install python extensions (e.g. like hamlib2 does)
then the python module will go to the wrong directory (as Automake uses
sysconfig instead of distuitls.sysconfig by default). See the following
log:

======== CUT ======
$ python3
Python 3.5.2+ (default, Sep 10 2016, 10:24:58) 
[GCC 6.2.0 20160901] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sysconfig
>>> sysconfig.get_path('purelib')
'/usr/lib/python3.5/site-packages'
>>> from distutils import sysconfig
>>> sysconfig.get_python_lib(0, 0)
'/usr/lib/python3/dist-packages'
======== CUT =====

-- 
With best wishes
Dmitry


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.utf8, LC_CTYPE=ru_RU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages libpython3.5-minimal depends on:
ii  libc6        2.23-5
ii  libssl1.0.2  1.0.2h-1

Versions of packages libpython3.5-minimal recommends:
ii  libpython3.5-stdlib  3.5.2-5

libpython3.5-minimal suggests no packages.

-- no debconf information

Reply via email to