Your message dated Sun, 27 Jun 2010 22:46:59 +0200
with message-id <[email protected]>
and subject line fixed in 2.6.5-1
has caused the Debian Bug report #338572,
regarding FHS: Python distutils should be configured to install under 
/usr/local by default
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.)


-- 
338572: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338572
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python
Version: 2.3.5-3

This bug is filed to python, but should apply to python2.1, python2.2,
python2.3, python2.4, and future Python versions.

Filesystem Hierarchy Standard says:
The /usr/local hierarchy is for use by the system administrator when
installing software locally.

Installing Python Modules says: (section 3.2)
Consider that many Linux distributions put Python in /usr, rather
than the more traditional /usr/local. This is entirely appropriate,
since in those cases Python is part of the system rather than a local
add-on. However, if you are installing Python modules from source, you
probably want them to go in /usr/local/lib/python2.X rather than
/usr/lib/python2.X. This can be done with... (snip)

Instead of referring confused users to the distutils manual all the time,
Debian's Python should be configured to install under /usr/local when
using distutils to do local install by default.

This can be done by shipping distutils configuration file, documented
in "Installing Python Modules" section 5.

Its location should be $prefix/lib/python$ver/distutils/distutils.cfg.

The distutils configuration files are grouped into sections. There is
one section for each distutils command. Each section consists of one
option per line, specified as option=value. (section 5.2 rephrase)

As commandline should be python setup.py install --prefix=/usr/local,
converted to configuration file, this becomes:

[install]
prefix = /usr/local

Thanks for reading.

Seo Sanghyeon


--- End Message ---
--- Begin Message ---
Version: 2.6.5-1

python2.6 is now default Python version (and /usr/local by default is
introduced in python2.6 package)


--- End Message ---

Reply via email to