Changeset 1086
- Timestamp:
- 07/01/08 10:47:24 (3 months ago)
- Files:
-
- trunk/pyhdf/setup.cfg (modified) (1 diff)
- trunk/pyhdf/setup.py (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/pyhdf/setup.cfg
r1054 r1086 2 2 group = Development/Python 3 3 distribution_name = Mandriva Linux 4 packager = Enthought <enthought-dev@mail.enthought.com>4 packager = Andre Gosselin <gosselina@dfo-mpo.gc.ca> 5 5 release = 1 6 6 requires = HDF-4.2r1 7 python-num py8 python-num py-devel7 python-numeric 8 python-numeric-devel 9 9 provides = pyhdf 10 10 doc_files = pyhdf/doc/ trunk/pyhdf/setup.py
r1054 r1086 1 # $Id: INSTALL,v 1.4 2008/06/23 Enthought2 # $Log: INSTALL,v $3 # Revision 1.4 2008/06/234 # pyhdf-0.7-45 # Ported to HDF4.2r1.6 # NumPy replaces Numeric as underlying scientific package7 #8 1 # $Id: setup.py,v 1.6 2005/07/14 01:36:41 gosselin_a Exp $ 9 2 # $Log: setup.py,v $ … … 14 7 # All classes are now 'new-style' classes, deriving from 'object'. 15 8 # Update documentation. 16 #17 # Revision 1.7 2008/06/22 Enthought18 # pyhdf-0.7-419 9 # 20 10 # Revision 1.5 2004/08/02 17:03:04 gosselin … … 35 25 36 26 # distutils setup file for the pyhdf package 37 # Version: 0. 7-338 # Date: July 1 3 200527 # Version: 0.8 28 # Date: July 1 2008 39 29 40 30 from numpy.distutils.core import setup, Extension 41 from setuptools import *42 31 43 32 # Configure the appropriate include and library directories here. 44 include_dirs = ["/usr/ local/include"]45 library_dirs = ["/usr/l ocal/lib"]33 include_dirs = ["/usr/include/hdf"] 34 library_dirs = ["/usr/lib/hdf"] 46 35 47 36 _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, 50 39 51 40 # 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"], 53 45 #extra_compile_args=["-DNOSZIP"], 54 46 55 library_dirs =library_dirs,47 library_dirs = library_dirs, 56 48 #extra_link_args=["extra stuff passed to the linker"], 57 49 … … 63 55 # those two libraries are generally part of a standard 64 56 # 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. 68 59 libraries = ["mfhdf", "df", "jpeg", "z", "sz"] 69 60 # HDF built without SZIP support. … … 74 65 setup(name = 'pyhdf', 75 66 author = 'Andre Gosselin', 76 author_email = ' gosselina@dfo-mpo.gc.ca',67 author_email = 'Andre.Gosselin@dfo-mpo.gc.ca', 77 68 maintainer = 'Robert Kern', 78 69 maintainer_email = 'robert.kern@enthought.com', … … 82 73 long_description = 'The pyhdf package wraps the functionality\n ' 83 74 '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 ' 88 78 'through numpy arrays. netCDF files can also\n ' 89 79 'be read and modified with pyhdf.' 90 80 '\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' 93 83 '(Object Desdription Language) format.', 94 84 url = 'www.sourceforge.net/projects/pysclint', 95 version = '0. 7-3',85 version = '0.8', 96 86 packages = ['pyhdf'], 97 87 ext_modules = [_hdfext]
