~pythonregexp2.7/python/issue2636

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-05-24 16:05:21 UTC
  • mfrom: (39021.1.401 Regexp-2.6)
  • Revision ID: darklord@timehorse.com-20080524160521-1xenj7p6u3wb89et
Merged in changes from the latest python source snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
436
436
        exts.append( Extension('operator', ['operator.c']) )
437
437
        # Python 3.0 _fileio module
438
438
        exts.append( Extension("_fileio", ["_fileio.c"]) )
 
439
        # Python 3.0 _bytesio module
 
440
        exts.append( Extension("_bytesio", ["_bytesio.c"]) )
439
441
        # _functools
440
442
        exts.append( Extension("_functools", ["_functoolsmodule.c"]) )
 
443
        # _json speedups
 
444
        exts.append( Extension("_json", ["_json.c"]) )
441
445
        # Python C API test module
442
446
        exts.append( Extension('_testcapi', ['_testcapimodule.c']) )
443
447
        # profilers (_lsprof is for cProfile.py)
1005
1009
                missing.append('resource')
1006
1010
 
1007
1011
            # Sun yellow pages. Some systems have the functions in libc.
1008
 
            if platform not in ['cygwin', 'atheos']:
 
1012
            if platform not in ['cygwin', 'atheos', 'qnx6']:
1009
1013
                if (self.compiler.find_library_file(lib_dirs, 'nsl')):
1010
1014
                    libs = ['nsl']
1011
1015
                else:
1576
1580
            # finding some -z option for the Sun compiler.
1577
1581
            extra_link_args.append('-mimpure-text')
1578
1582
 
 
1583
        elif sys.platform.startswith('hpux'):
 
1584
            extra_link_args.append('-fPIC')
 
1585
 
1579
1586
        ext = Extension('_ctypes',
1580
1587
                        include_dirs=include_dirs,
1581
1588
                        extra_compile_args=extra_compile_args,