[Distutils] Patch for new install options

Greg Ward gward@ase.com
Wed, 26 Apr 2000 22:00:20 -0400


On 26 April 2000, I said:
> Hmmm, you have a point.  When generating built distributions, you really 
> do want to sneak a new root directory into the installation paths.  So
> how about this minor spelling change:
> 
>     ./setup.py install --root=$RPM_BUILD_ROOT

OK, I've added this option to the install command.  Works for me, but it 
will blow up on Windows and Mac OS because I'm not sure of the right way 
to forcibly set a new root directory on a path that might already be
absolute.  Probably just because my brain is running at a low ebb
tonight.  Anyways, take a look in distutils/util.py at 'change_root()'
in the latest CVS if you can help me.

Still haven't added Harry's --record-install option, or something like
it.  Tomorrow...

        Greg
-- 
Greg Ward - programmer-at-large                         gward@python.net
http://starship.python.net/~gward/
If it can't be expressed in figures, it is not science--it is opinion.