A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-July/016063.html below:

[Python-Dev] PEP 250: Summary of comments

[Python-Dev] PEP 250: Summary of commentsFred L. Drake, Jr. fdrake@acm.org
Wed, 18 Jul 2001 10:26:26 -0400 (EDT)
Moore, Paul writes:
 > On point 3a, sys.extinstallpath should be set for all platforms, but I have
 > to admit that I don't know what to do for non-Windows platforms. The best I
 > can suggest is that we do something like
 > 
 > if os.sep == '/':
 >     sys.extinstallpath = os.path.join(sys.prefix, "lib", "python" +
 > sys.version[:3], "site-packages")
 > else:
 >     sys.extinstallpath = os.path.join(sys.prefix, "lib", "site-packages")

  There's one aspect that doesn't appear to have been addressed for
Unix: there are two reasonable values for extinstallpath.  In
multi-architecture installations, where the Python portions of the
library are shared among architectures, there are two site-packages
directories:

	$prefix/lib/pythonX.Y/site-packages/

and

	$exec_prefix/lib/pythonX.Y/site-packages/

  When $prefix and $exec_prefix are the same, this isn't an issue, but
for this is a problem for multi-platform installations.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Digital Creations




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4