Thanks Kevin....with it being 75 degrees here I guess I am crazy to be sitting indoors trying to compile code.....but this is my time to try stuff while I have the week off...

FWIW has next to nothing in it:
#!/usr/bin/env python

import os
import sys

from distribute_setup import use_setuptools
from setuptools import setup, Extension

if not hasattr(sys, "hexversion") or sys.hexversion < 0x02040000:
raise Error("Python 2.4 or newer is required")

if == "posix":
from setup_posix import get_config
else: # assume windows
from setup_windows import get_config

metadata, options = get_config()
metadata['ext_modules'] = [Extension(sources=['_mysql.c'], **options)]
metadata['long_description'] = metadata['long_description'].replace(r'\n', '')


But not sure where things like 'get_config' live unless setuptools has it...

Pete Helgren
GIAC Secure Software Programmer-Java
Twitter - Sys_i_Geek IBM_i_Geek

On 12/27/2016 12:11 PM, Kevin Adler wrote:
Python has its own configuration: you create a Typically using
either setuptools or distutils do abstract everything (just like some
people write their own configure, but most people use a tool like autoconf
to generate it instead). My guess is that the has some special
code for dealing with AIX and is using that code path (where the majority
of stuff has traditionally used XLC, even for open source). I have no idea
why it's adding -q64 though, since neither our Python nor the Perzl python
is built 64-bit (Perzl does have a python_64, but you have to go out of
your way to use it).

Pete, I'll look in to it a bit after lunch - I'm here through the end of
the year, as unlike my other colleagues I seem to enjoy taking vacations
when it's above freezing for some crazy reason.:)

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.