Your message dated Wed, 30 Nov 2022 18:10:05 +0000
with message-id <[email protected]>
and subject line Bug#938168: Removed package(s) from unstable
has caused the Debian Bug report #628489,
regarding python-setuptools: easy_install for python2.6 installs to 
"site-packages" instead of "dist-packages" with --prefix
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
628489: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628489
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-setuptools
Version: 0.6.16-1
Severity: important

Hi,

when installing modules to a local location (--prefix=/usr/local) using
python2.6, easy_install tries to install the module to:

/usr/local/lib/python2.6/site-packages

This dir doesn't exist, is created by e_i but is not in any .pth file so
the output looks like this:
====
# easy_install-2.6 --prefix=/usr/local ComponentDependencyPlugin-0.1-py2.6.egg
TEST FAILED: /usr/local/lib/python2.6/site-packages does NOT support
.pth files
error: bad install directory or PYTHONPATH

You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from.  The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    /usr/local/lib/python2.6/site-packages

and your PYTHONPATH environment variable currently contains:

    ''
...etc
====

According to the
http://www.debian.org/doc/packaging-manuals/python-policy/ch-python.html
former "site-packages" has been replaced by "dist-packages" for
python2.6+ and the dir:

/usr/local/lib/python2.6/dist-packages

is present and ready-waiting for installing modules (part of any .pth
file already).

One needs to run the following to go well:
easy_install --prefix=/usr/local \
             --install-dir=/usr/local/lib/python2.6/dist-packages \
             ComponentDependencyPlugin-0.1-py2.6.egg

Then the module is installed correctly and is directly importable.

Thanks,
  Rene Pavlik




-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-setuptools depends on:
ii  python                        2.6.6-14   interactive high-level object-orie
ii  python-pkg-resources          0.6.16-1   Package Discovery and Resource Acc

python-setuptools recommends no packages.

python-setuptools suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 44.1.1-1.2+rm

Dear submitter,

as the package python-setuptools has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/938168

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to