[Distutils] Was I asleep?
Mark W. Alexander
Fri, 25 Aug 2000 11:15:39 -0400 (EDT)
Second, I swear this is exactly what I did and it didn't work.
Just now I went back and commented out the "old-style" and
uncommented my Extension class attempt and it worked just fine.
Must of been a brain fart....
Third, yes it's alot cleaner and clearer.
And finally....Documentation. What's with perl and LaTeX2HTML?
My need for documentation is growing since I'm trying to
do bdist_pkgtool and bdist_sdux in, well let's just say
a less casual approach. bdist_pkgtool has stuff hard-coded
("build/lib", etc) because I didn't have time to really
figure out the correct ways to find information. Is there
any hacker's guide to distutils info any where (beside's
the source, of course!). Especially what bdist_* has
On Thu, 24 Aug 2000, Greg Ward wrote:
> Date: Thu, 24 Aug 2000 22:45:29 -0400
> From: Greg Ward <email@example.com>
> To: firstname.lastname@example.org
> Subject: Re: [Distutils] Was I asleep? (Extension instance message)
> On 24 August 2000, Mark W. Alexander said:
> > warning: build_ext: old-style (ext_name, build_info) tuple found in ext_modules
> > for extension '(module_name)'-- please convert to Extension instance
> > Say what?
> > I don't remember this on the list, and I can't find any docs, so I decipher
> > distutils extension.py and make something like:
> Hmm, I *thought* I mentioned it on the list. There was no great hue and
> cry, so I didn't think it was a big deal. It is documented, but only in
> the CVS docs -- I am still trying to work up the courage to beat Perl
> and LaTeX2HTML into submission.
> Take a look in any of the example setup scripts in examples,
> eg. examples/xml_setup.py has:
> ext_modules = [Extension('sgmlop',
> define_macros = [('XML_NS', None)],
> include_dirs = [ 'extensions/expat/xmltok',
> 'extensions/expat/xmlparse' ],
> which I think you'll agree is a lot more readable (and writeable) than
> the old hairy list-of-tuples-of-dicts (or whatever it was) mess.
> Greg Ward - Unix nerd email@example.com
> What happens if you touch these two wires tog--
> Distutils-SIG maillist - Distutils-SIG@python.org