[Python-Dev] Re: [snake-farm] Autodetect /usr/ccs/bin? (original) (raw)

Skip Montanaro skip@pobox.com
Tue, 8 Oct 2002 10:59:21 -0500


Michael> If this is your change:

...
Michael> +         add_dir_to_list(self.compiler.library_dirs, '/sw/lib')
Michael> +         add_dir_to_list(self.compiler.include_dirs, '/sw/include')

yes, but prefaced with

if sys.platform == "darwin":

Michael> This is so easy, I don't think it's worth bothering with in the
Michael> core...

What's "the core" mean in this context? Do you mean that people should be expected to add this to setup.py themselves?

Skip