[Distutils] Draft of new setuptools installation instructions

bear bear42 at code-bear.com
Wed Oct 4 00:14:27 CEST 2006


Phillip J. Eby wrote:
> Windows
> =======
>
> Install setuptools using the provided ``.exe`` installer.  If you've 
> previously installed older versions of setuptools, please delete all 
> ``setuptools*.egg`` files from your system FIRST.
>
> If you are upgrading a previous version of setuptools that was installed 
> using an ``.exe`` installer, please be sure to also uninstall that older 
> version via your system's "Add/Remove Programs" feature, BEFORE installing 
> the newer version.
>   
This works for me.  The extra check boxes at the end (or beginning) of 
the install to set .egg extension information also work for me as long 
as the default is "no"
> RPM-Based Systems
> =================
>
> Install setuptools using the provided source RPM.  The included ``.spec`` 
> file assumes you are installing using the default ``python`` executable, 
> and is thus not specific to a particular Python version.  The 
> ``easy_install`` executable will be installed to a system ``bin`` directory 
> such as ``/usr/bin``.
>
> If you wish to install to a custom installation location, please use the
> ``.egg`` installation approach described in the following section.
>   
you should be able to create a spec file that allows for a --prefix 
option but that's a nit

> Cygwin, Mac OS X, Linux, Other
> ==============================
>
> 1. Download the appropriate egg for your version of Python (e.g.
>     ``setuptools-0.6c4-py2.4.egg``).  Do NOT rename it.
>
> 2. Make it executable (e.g. ``chmod +x setuptools-0.6c4-py2.4.egg``)
>   
I have to agree with the earlier comments that having a chmod step seems 
odd - just saying "run the egg as a shell script (e.g. sh 
setuptools)..." is clear and concise

---
bear



More information about the Distutils-SIG mailing list