Installing pyFITS

Discussion in 'Mac Programming' started by Telp, Jan 28, 2013.

  1. macrumors 68040

    Telp

    Joined:
    Feb 6, 2007
    #1
    Does anyone know how to install pyFITS? In the FAQ, it says you can install pyFITS on a mac by building and installing the source package. I am pretty new to this, and I'm not entirely sure which files to do what with and how to build the source package. If anyone could help, I would really appreciate it as I'm trying not to have to use windows if I can help it. Thanks.


    Calder
     
  2. kryten2, Jan 29, 2013
    Last edited: Feb 5, 2013

    macrumors 6502a

    Joined:
    Mar 17, 2012
    Location:
    Belgium
    #2
    For anything to compile on your Mac you'll need Xcode and/or the command line tools as it's now called these days. Depends on what version of OS X you're running. It should be as simple as downloading the source, unpacking the source, cd into the source directory and running :

    Code:
    python setup.py install
    It should produce some output like this :


    Code:
    Aldebaran:~ test$ cd Downloads/pyfits-3.1.1
    Aldebaran:pyfits-3.1.1 test$ python setup.py install
    /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: 'use_2to3'
      warnings.warn(msg)
    
    Installed /private/var/folders/Lc/Lc0cgDaYEzeFSoTbSz17rE+++TI/-Tmp-/easy_install-Npl28I/stsci.distutils-0.3.1/d2to1-0.2.7-py2.5.egg
    
    Installed /Users/test/Downloads/pyfits-3.1.1/stsci.distutils-0.3.1-py2.5.egg
    Searching for d2to1>=0.2.5
    Reading http://pypi.python.org/simple/d2to1/
    Best match: d2to1 0.2.7
    Downloading http://pypi.python.org/packages/source/d/d2to1/d2to1-0.2.7.tar.gz#md5=cd135d7e0d4692326ef20063048a88be
    Processing d2to1-0.2.7.tar.gz
    Running d2to1-0.2.7/setup.py -q bdist_egg --dist-dir /var/folders/Lc/Lc0cgDaYEzeFSoTbSz17rE+++TI/-Tmp-/easy_install-ApqlHw/d2to1-0.2.7/egg-dist-tmp-2N9nsi
    
    Installed /Users/test/Downloads/pyfits-3.1.1/d2to1-0.2.7-py2.5.egg
    running install
    running bdist_egg
    running egg_info
    writing requirements to lib/pyfits.egg-info/requires.txt
    writing lib/pyfits.egg-info/PKG-INFO
    writing top-level names to lib/pyfits.egg-info/top_level.txt
    writing dependency_links to lib/pyfits.egg-info/dependency_links.txt
    writing entry points to lib/pyfits.egg-info/entry_points.txt
    reading manifest file 'lib/pyfits.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no previously-included files found matching '*.pyc'
    no previously-included directories found matching 'docs/build'
    writing manifest file 'lib/pyfits.egg-info/SOURCES.txt'
    installing library code to build/bdist.macosx-10.5-ppc/egg
    running install_lib
    running build_py
    creating build
    creating build/lib.macosx-10.5-ppc-2.5
    creating build/lib.macosx-10.5-ppc-2.5/pyfits
    copying lib/pyfits/__init__.py -> build/lib.macosx-10.5-ppc-2.5/pyfits
    copying lib/pyfits/_release.py -> build/lib.macosx-10.5-ppc-2.5/pyfits
    copying lib/pyfits/card.py -> build/lib.macosx-10.5-ppc-2.5/pyfits
    copying lib/pyfits/column.py -> build/lib.macosx-10.5-ppc-2.5/pyfits
    copying lib/pyfits/convenience.py -> build/lib.macosx-10.5-ppc-2.5/pyfits
    copying lib/pyfits/core.py -> build/lib.macosx-10.5-ppc-2.5/pyfits
    copying lib/pyfits/diff.py -> build/lib.macosx-10.5-ppc-2.5/pyfits
    copying lib/pyfits/file.py -> build/lib.macosx-10.5-ppc-2.5/pyfits
    copying lib/pyfits/fitsrec.py -> build/lib.macosx-10.5-ppc-2.5/pyfits
    copying lib/pyfits/header.py -> build/lib.macosx-10.5-ppc-2.5/pyfits
    copying lib/pyfits/py3compat.py -> build/lib.macosx-10.5-ppc-2.5/pyfits
    copying lib/pyfits/util.py -> build/lib.macosx-10.5-ppc-2.5/pyfits
    copying lib/pyfits/verify.py -> build/lib.macosx-10.5-ppc-2.5/pyfits
    copying lib/pyfits/version.py -> build/lib.macosx-10.5-ppc-2.5/pyfits
    creating build/lib.macosx-10.5-ppc-2.5/pyfits/hdu
    copying lib/pyfits/hdu/__init__.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/hdu
    copying lib/pyfits/hdu/base.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/hdu
    copying lib/pyfits/hdu/compressed.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/hdu
    copying lib/pyfits/hdu/groups.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/hdu
    copying lib/pyfits/hdu/hdulist.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/hdu
    copying lib/pyfits/hdu/image.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/hdu
    copying lib/pyfits/hdu/nonstandard.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/hdu
    copying lib/pyfits/hdu/streaming.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/hdu
    copying lib/pyfits/hdu/table.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/hdu
    creating build/lib.macosx-10.5-ppc-2.5/pyfits/scripts
    copying lib/pyfits/scripts/__init__.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/scripts
    copying lib/pyfits/scripts/fitscheck.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/scripts
    copying lib/pyfits/scripts/fitsdiff.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/scripts
    creating build/lib.macosx-10.5-ppc-2.5/pyfits/tests
    copying lib/pyfits/tests/__init__.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests
    copying lib/pyfits/tests/test_checksum.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests
    copying lib/pyfits/tests/test_core.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests
    copying lib/pyfits/tests/test_diff.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests
    copying lib/pyfits/tests/test_division.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests
    copying lib/pyfits/tests/test_groups.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests
    copying lib/pyfits/tests/test_hdulist.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests
    copying lib/pyfits/tests/test_header.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests
    copying lib/pyfits/tests/test_image.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests
    copying lib/pyfits/tests/test_nonstandard.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests
    copying lib/pyfits/tests/test_structured.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests
    copying lib/pyfits/tests/test_table.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests
    copying lib/pyfits/tests/test_uint.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests
    copying lib/pyfits/tests/test_util.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests
    copying lib/pyfits/tests/util.py -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests
    creating build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data
    copying lib/pyfits/tests/data/arange.fits -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data
    copying lib/pyfits/tests/data/ascii.fits -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data
    copying lib/pyfits/tests/data/checksum.fits -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data
    copying lib/pyfits/tests/data/comp.fits -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data
    copying lib/pyfits/tests/data/fixed-1890.fits -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data
    copying lib/pyfits/tests/data/o4sp040b0_raw.fits -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data
    copying lib/pyfits/tests/data/random_groups.fits -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data
    copying lib/pyfits/tests/data/scale.fits -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data
    copying lib/pyfits/tests/data/stddata.fits -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data
    copying lib/pyfits/tests/data/table.fits -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data
    copying lib/pyfits/tests/data/tb.fits -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data
    copying lib/pyfits/tests/data/test0.fits -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data
    copying lib/pyfits/tests/data/zerowidth.fits -> build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data
    running build_ext
    running pre_hook stsci.distutils.hooks.numpy_extension_hook for command build_ext
    [COLOR="red"]building 'pyfits.compression' extension
    C compiler: gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -arch i386 -arch ppc -pipe
    
    creating build/temp.macosx-10.5-ppc-2.5
    creating build/temp.macosx-10.5-ppc-2.5/src
    compile options: '-I/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/core/include -I/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/numarray -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c'
    extra options: '-Wno-unused-function -Wno-strict-prototypes'
    gcc: src/compressionmodule.c
    gcc: src/inffast.c
    gcc: src/inftrees.c
    gcc: src/ricecomp.c
    gcc: src/fits_hdecompress.c
    gcc: src/trees.c
    gcc: src/fits_hcompress.c
    gcc: src/fitsio.c
    gcc: src/quantize.c
    gcc: src/pliocomp.c
    gcc: src/zlib.c
    gcc: src/compress.c
    gcc -Wl,-F. -bundle -undefined dynamic_lookup -arch i386 -arch ppc build/temp.macosx-10.5-ppc-2.5/src/compress.o build/temp.macosx-10.5-ppc-2.5/src/fits_hcompress.o build/temp.macosx-10.5-ppc-2.5/src/fits_hdecompress.o build/temp.macosx-10.5-ppc-2.5/src/fitsio.o build/temp.macosx-10.5-ppc-2.5/src/pliocomp.o build/temp.macosx-10.5-ppc-2.5/src/compressionmodule.o build/temp.macosx-10.5-ppc-2.5/src/quantize.o build/temp.macosx-10.5-ppc-2.5/src/ricecomp.o build/temp.macosx-10.5-ppc-2.5/src/zlib.o build/temp.macosx-10.5-ppc-2.5/src/inffast.o build/temp.macosx-10.5-ppc-2.5/src/inftrees.o build/temp.macosx-10.5-ppc-2.5/src/trees.o -o build/lib.macosx-10.5-ppc-2.5/pyfits/compression.so[/COLOR]
    creating build/bdist.macosx-10.5-ppc
    creating build/bdist.macosx-10.5-ppc/egg
    creating build/bdist.macosx-10.5-ppc/egg/pyfits
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/__init__.py -> build/bdist.macosx-10.5-ppc/egg/pyfits
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/_release.py -> build/bdist.macosx-10.5-ppc/egg/pyfits
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/card.py -> build/bdist.macosx-10.5-ppc/egg/pyfits
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/column.py -> build/bdist.macosx-10.5-ppc/egg/pyfits
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/compression.so -> build/bdist.macosx-10.5-ppc/egg/pyfits
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/convenience.py -> build/bdist.macosx-10.5-ppc/egg/pyfits
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/core.py -> build/bdist.macosx-10.5-ppc/egg/pyfits
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/diff.py -> build/bdist.macosx-10.5-ppc/egg/pyfits
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/file.py -> build/bdist.macosx-10.5-ppc/egg/pyfits
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/fitsrec.py -> build/bdist.macosx-10.5-ppc/egg/pyfits
    creating build/bdist.macosx-10.5-ppc/egg/pyfits/hdu
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/hdu/__init__.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/hdu
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/hdu/base.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/hdu
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/hdu/compressed.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/hdu
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/hdu/groups.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/hdu
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/hdu/hdulist.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/hdu
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/hdu/image.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/hdu
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/hdu/nonstandard.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/hdu
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/hdu/streaming.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/hdu
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/hdu/table.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/hdu
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/header.py -> build/bdist.macosx-10.5-ppc/egg/pyfits
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/py3compat.py -> build/bdist.macosx-10.5-ppc/egg/pyfits
    creating build/bdist.macosx-10.5-ppc/egg/pyfits/scripts
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/scripts/__init__.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/scripts
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/scripts/fitscheck.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/scripts
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/scripts/fitsdiff.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/scripts
    creating build/bdist.macosx-10.5-ppc/egg/pyfits/tests
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/__init__.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests
    creating build/bdist.macosx-10.5-ppc/egg/pyfits/tests/data
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data/arange.fits -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests/data
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data/ascii.fits -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests/data
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data/checksum.fits -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests/data
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data/comp.fits -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests/data
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data/fixed-1890.fits -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests/data
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data/o4sp040b0_raw.fits -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests/data
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data/random_groups.fits -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests/data
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data/scale.fits -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests/data
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data/stddata.fits -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests/data
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data/table.fits -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests/data
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data/tb.fits -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests/data
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data/test0.fits -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests/data
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/data/zerowidth.fits -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests/data
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/test_checksum.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/test_core.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/test_diff.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/test_division.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/test_groups.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/test_hdulist.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/test_header.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/test_image.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/test_nonstandard.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/test_structured.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/test_table.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/test_uint.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/test_util.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/tests/util.py -> build/bdist.macosx-10.5-ppc/egg/pyfits/tests
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/util.py -> build/bdist.macosx-10.5-ppc/egg/pyfits
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/verify.py -> build/bdist.macosx-10.5-ppc/egg/pyfits
    copying build/lib.macosx-10.5-ppc-2.5/pyfits/version.py -> build/bdist.macosx-10.5-ppc/egg/pyfits
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/__init__.py to __init__.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/_release.py to _release.pyc
    build/bdist.macosx-10.5-ppc/egg/pyfits/_release.py:237: Warning: 'with' will become a reserved keyword in Python 2.6
      File "build/bdist.macosx-10.5-ppc/egg/pyfits/_release.py", line 237
        with open(conf_py) as f:
                ^
    SyntaxError: invalid syntax
    
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/card.py to card.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/column.py to column.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/convenience.py to convenience.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/core.py to core.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/diff.py to diff.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/file.py to file.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/fitsrec.py to fitsrec.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/hdu/__init__.py to __init__.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/hdu/base.py to base.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/hdu/compressed.py to compressed.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/hdu/groups.py to groups.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/hdu/hdulist.py to hdulist.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/hdu/image.py to image.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/hdu/nonstandard.py to nonstandard.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/hdu/streaming.py to streaming.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/hdu/table.py to table.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/header.py to header.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/py3compat.py to py3compat.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/scripts/__init__.py to __init__.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/scripts/fitscheck.py to fitscheck.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/scripts/fitsdiff.py to fitsdiff.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/tests/__init__.py to __init__.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/tests/test_checksum.py to test_checksum.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/tests/test_core.py to test_core.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/tests/test_diff.py to test_diff.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/tests/test_division.py to test_division.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/tests/test_groups.py to test_groups.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/tests/test_hdulist.py to test_hdulist.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/tests/test_header.py to test_header.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/tests/test_image.py to test_image.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/tests/test_nonstandard.py to test_nonstandard.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/tests/test_structured.py to test_structured.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/tests/test_table.py to test_table.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/tests/test_uint.py to test_uint.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/tests/test_util.py to test_util.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/tests/util.py to util.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/util.py to util.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/verify.py to verify.pyc
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/version.py to version.pyc
    creating stub loader for pyfits/compression.so
    byte-compiling build/bdist.macosx-10.5-ppc/egg/pyfits/compression.py to compression.pyc
    creating build/bdist.macosx-10.5-ppc/egg/EGG-INFO
    installing scripts to build/bdist.macosx-10.5-ppc/egg/EGG-INFO/scripts
    running install_scripts
    running build_scripts
    creating build/scripts-2.5
    
    Notice the red block of text in the output. That's where the C extension module for reading/writing compressed images is being compiled. Good luck.

    Note : Removed some of the output as it was too long.
     
  3. thread starter macrumors 68040

    Telp

    Joined:
    Feb 6, 2007
    #3
    Got it working. Thank you so much for your help!
     

Share This Page