[Distutils] I browsed through the distutils source!
Michel Sanner
sanner@scripps.edu
Tue, 30 Mar 1999 15:06:37 -0800
Hi Greg,
sorry , didn't have time to look at this yet .. just a question/suggestion
What I really like about Makefiles is the -n mode where I can see what it would
do before it actually does it. Is duch an option available in setup.py and if
not could it be added.
Cheers
-Michel
On Mar 30, 2:01pm, Greg Ward wrote:
> > report on what happened.
>
> There's not much to running it; from the top distutils directory, do:
>
> ./setup.py build
>
> should work pretty much anywhere. A slightly more risky proposition is
>
> ./setup.py install
>
> which relies on distutils.sysconfig to get the installation directories;
> it in turn relies on finding Python's Makefiles in the usual place. I
> have no idea if they're even installed under Win 95 -- please let me
> know!
>
> > Greg, anything you'd like me to examine especially?
>
> The weak spots! Search for "XXX" in the code; I'm liberal with X-rated
> comments. Also check my "Current weaknesses" post from last night; see
> if you can correlate my opinions of current problems with the code.
>
> When it occurs to you that commands are a lot like subroutines, and then
> when you start to wonder why parameter passing is done backwards, then
> you'll be up to speed. (The whole problem of communicating options
> between commands was bigger than I expected. The implementation isn't
> overly complicated, but I think it'll take some bouncing around across
> various classes and thinking about the alternatives before it becomes
> apparent why I did it that way.)
>
> Oh, the big reason I put the code up now is this: I think it's close to
> being at a state where development can be in parallel. The basic
> framework is in place, all that's missing is a lot of commands to do the
> work. The beginnings of building and installation are in place, and
> I've started thinking about the 'build_ext' command -- witness the
> thread on compiler abstraction models. But the "dist" and "bdist"
> commands -- to create source and built distributions -- are important
> and could easily be done by someone else.
>
> Greg
> --
> Greg Ward - software developer gward@cnri.reston.va.us
> Corporation for National Research Initiatives
> 1895 Preston White Drive voice: +1-703-620-8990 x287
> Reston, Virginia, USA 20191-5434 fax: +1-703-620-0913
>
> _______________________________________________
> Distutils-SIG maillist - Distutils-SIG@python.org
> http://www.python.org/mailman/listinfo/distutils-sig
>
>-- End of excerpt from Greg Ward