Changeset 1086

Show
Ignore:
Timestamp:
07/01/08 10:47:24 (3 months ago)
Author:
fcady
Message:

updated other files

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/pyhdf/setup.cfg

    r1054 r1086  
    22group    = Development/Python 
    33distribution_name = Mandriva Linux 
    4 packager = Enthought <enthought-dev@mail.enthought.com
     4packager = Andre Gosselin <gosselina@dfo-mpo.gc.ca
    55release  = 1 
    66requires = HDF-4.2r1 
    7            python-numpy 
    8            python-numpy-devel 
     7           python-numeric 
     8           python-numeric-devel 
    99provides = pyhdf 
    1010doc_files = pyhdf/doc/ 
  • trunk/pyhdf/setup.py

    r1054 r1086  
    1 # $Id: INSTALL,v 1.4 2008/06/23         Enthought 
    2 # $Log: INSTALL,v $ 
    3 # Revision 1.4 2008/06/23 
    4 # pyhdf-0.7-4 
    5 # Ported to HDF4.2r1. 
    6 # NumPy replaces Numeric as underlying scientific package 
    7 # 
    81# $Id: setup.py,v 1.6 2005/07/14 01:36:41 gosselin_a Exp $ 
    92# $Log: setup.py,v $ 
     
    147# All classes are now 'new-style' classes, deriving from 'object'. 
    158# Update documentation. 
    16 # 
    17 # Revision 1.7  2008/06/22           Enthought 
    18 # pyhdf-0.7-4 
    199# 
    2010# Revision 1.5  2004/08/02 17:03:04  gosselin 
     
    3525 
    3626# distutils setup file for the pyhdf package 
    37 # Version: 0.7-3 
    38 # Date: July 13 2005 
     27# Version: 0.8 
     28# Date: July 1 2008 
    3929 
    4030from numpy.distutils.core import setup, Extension 
    41 from setuptools import * 
    4231 
    4332# Configure the appropriate include and library directories here. 
    44 include_dirs = ["/usr/local/include"] 
    45 library_dirs = ["/usr/local/lib"] 
     33include_dirs = ["/usr/include/hdf"] 
     34library_dirs = ["/usr/lib/hdf"] 
    4635 
    4736_hdfext =    Extension('pyhdf._hdfext',  
    48                        sources   = ["pyhdf/hdfext.i"], 
    49                        include_dirs=include_dirs, 
     37                       sources      = ["pyhdf/hdfext_wrap.c"], 
     38                       include_dirs = include_dirs, 
    5039 
    5140                       # Define NOSZIP if your HDF4.2 library was compiled without SZIP 
    52                        # support. 
     41                       # support. Define NOCOMPRESS if your HDF library reports errors 
     42                       # related to SDgetcompress() / SDsetcompress() compression functions  
     43                       # (this may help users of Debian-based linux distributions).  
     44                       #extra_compile_args=["-DNOSZIP", "-DNOCOMPRESS"], 
    5345                       #extra_compile_args=["-DNOSZIP"], 
    5446 
    55                        library_dirs=library_dirs, 
     47                       library_dirs = library_dirs, 
    5648                       #extra_link_args=["extra stuff passed to the linker"], 
    5749 
     
    6355                       # those two libraries are generally part of a standard  
    6456                       # distribution). 
    65                        # Omit the "sz" entry (eg library 'libsz') if your HDF 
    66                        # library was built without SZIP support. 
    67                        # HDF built with SZIP support. 
     57                       # Omit the "sz" entry (eg library 'libsz') if you have set 
     58                       # either NOSZIP or NOCOMPRESS above. 
    6859                       libraries = ["mfhdf", "df", "jpeg", "z", "sz"] 
    6960                       # HDF built without SZIP support. 
     
    7465setup(name         = 'pyhdf', 
    7566      author       = 'Andre Gosselin', 
    76       author_email = 'gosselina@dfo-mpo.gc.ca', 
     67      author_email = 'Andre.Gosselin@dfo-mpo.gc.ca', 
    7768      maintainer   = 'Robert Kern', 
    7869      maintainer_email = 'robert.kern@enthought.com', 
     
    8273      long_description = 'The pyhdf package wraps the functionality\n ' 
    8374                         'of the NCSA HDF version 4 library inside a Python OOP\n ' 
    84                          'framework. The SD (scientific dataset), VS (Vdata)\n ' 
    85                          'and V (Vgroup) APIs are currently implemented.\n ' 
    86                          'Other APIs should be covered in the\n ' 
    87                          'near future. SD datasets are read/written\n ' 
     75                         'framework. The SD (scientific dataset), VS\n ' 
     76                         '(Vdata) and V (Vgroup) APIs are currently implemented.\n ' 
     77                         'SD datasets are read/written\n ' 
    8878                         'through numpy arrays. netCDF files can also\n ' 
    8979                         'be read and modified with pyhdf.' 
    9080                         '\n' 
    91                          'The function parse_odl is also provided to
    92                          'deal specifically with data in the ODL
     81                         'The function parse_odl is also provided to\n
     82                         'deal specifically with data in the ODL\n
    9383                         '(Object Desdription Language) format.', 
    9484      url          = 'www.sourceforge.net/projects/pysclint', 
    95       version      = '0.7-3', 
     85      version      = '0.8', 
    9686      packages     = ['pyhdf'], 
    9787      ext_modules  = [_hdfext]