[Python-checkins] python/nondist/sandbox/setuptools EasyInstall.txt, 1.22, 1.23

pje@users.sourceforge.net pje at users.sourceforge.net
Thu Jul 7 03:51:49 CEST 2005


Update of /cvsroot/python/python/nondist/sandbox/setuptools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7746

Modified Files:
	EasyInstall.txt 
Log Message:
Add a note about interaction between exemaker and easy_install


Index: EasyInstall.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/setuptools/EasyInstall.txt,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- EasyInstall.txt	6 Jul 2005 03:47:04 -0000	1.22
+++ EasyInstall.txt	7 Jul 2005 01:51:46 -0000	1.23
@@ -481,6 +481,16 @@
  * There's no automatic retry for borked Sourceforge mirrors, which can easily
    time out or be missing a file.
 
+ * Wrapping ``easy_install.py`` with the Exemaker utility may cause failures
+   when building packages that want to compile themselves with optimization
+   enabled.  This is because Exemaker sets ``sys.executable`` to point to the
+   ``easy_install`` wrapper, instead of to the Python executable, and the
+   ``distutils.util.byte_compile()`` function expects to be able to invoke
+   ``sys.executable`` to run a short Python script.  Unfortunately, this can't
+   be directly fixed by EasyInstall; it has to be fixed in the distutils or
+   in Exemaker.  So, don't use Exemaker to wrap ``easy_install.py``, or at any
+   rate don't expect it to work with all packages.
+
 0.5a5
  * Added ``develop`` command to ``setuptools``-based packages.  This command
    installs an ``.egg-link`` pointing to the package's source directory, and



More information about the Python-checkins mailing list