[h5py] 225/455: Finalize 1.1
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:19:35 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to annotated tag 1.3.0
in repository h5py.
commit 1b91dcf010d051a0f8b2bbb0296ffc7f6d1ef3b6
Author: andrewcollette <andrew.collette at gmail.com>
Date: Sun Feb 8 22:25:57 2009 +0000
Finalize 1.1
---
ANN.txt | 7 ++++---
MANIFEST.in | 2 ++
README.txt | 23 +++++------------------
autotest.py | 16 ++++++++++------
docs/source/_templates/layout.html | 10 +++++++++-
docs/source/index.rst | 2 +-
h5py/selections.py | 7 +++----
7 files changed, 34 insertions(+), 33 deletions(-)
diff --git a/ANN.txt b/ANN.txt
index 99310dc..3cc98fd 100644
--- a/ANN.txt
+++ b/ANN.txt
@@ -30,14 +30,15 @@ New features in 1.1
GZIP filter.
- Efficient broadcasting using HDF5 hyperslab selections; for example,
- you can write to a (2000 x 100 x 50) selection from a (100 x 50) array.
-
- - Installable via easy_install
+ you can write to a (2000 x 100 x 50) selection from a (100 x 50)
+ source array.
- Now supports the NumPy boolean type
- Auto-completion for IPython 0.9.X (contributed by Darren Dale)
+ - Installable via easy_install
+
Standard features
-----------------
diff --git a/MANIFEST.in b/MANIFEST.in
index e74e791..2c5e71c 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -3,8 +3,10 @@ include LICENSE.txt
include INSTALL.txt
include README.txt
include setup.py
+include ez_setup.py
recursive-include api16 *
recursive-include api18 *
recursive-include h5py *.py *.pyx *.pxd *.pxi *.h *.c *.hdf5
recursive-include licenses *
recursive-include lzf *.c *.h *.txt
+recursive-include examples *
diff --git a/README.txt b/README.txt
index 2c5298a..d8506f1 100644
--- a/README.txt
+++ b/README.txt
@@ -2,7 +2,7 @@ README for the "h5py" Python/HDF5 interface
===========================================
Copyright (c) 2008 Andrew Collette
-Version 1.0.0
+Version 1.1.0
* http://h5py.alfven.org Main site, docs, quick-start guide
* http://h5py.googlecode.com Downloads, FAQ and bug tracker
@@ -21,11 +21,10 @@ to the existing HDF5 API and abstractions, so that Python programs can
easily deal with HDF5 files and exchange data with other HDF5-aware
applications.
-Quick installation
-------------------
-On Unix-like systems with gcc and distutils, run "python setup.py build"
-followed by "sudo python setup.py install". See INSTALL.txt or the online
-guide at h5py.alfven.org for more details.
+Installation
+------------
+
+See the file INSTALL.txt.
Documentation
-------------
@@ -45,16 +44,9 @@ High-Level
Create and use datasets with chunking, compression, or other filters
transparently.
-- Command-line browsing of HDF5 files, including the capability to import
- HDF5 objects into an interactive Python session.
-
- Dictionary-style access to HDF5 groups and attributes, including
iteration.
-- Automatic creation of HDF5 datasets, named types and hard links, by
- dictionary-style assignment. For example, Group["Name"] = <Numpy array>
- creates a dataset.
-
Low-Level
---------
@@ -83,9 +75,4 @@ Low-Level
- The majority of the HDF5 C-API documentation is still valid for the
h5py interface
-Bugs
-----
-I expect there are still a few. :) A FAQ page will soon be created at the
-project hosting wiki (http://h5py.googlecode.com); check there. You can
-open a ticket there or email me at "h5py" at the domain "alfven dot org".
diff --git a/autotest.py b/autotest.py
index f92e4a5..69521e8 100644
--- a/autotest.py
+++ b/autotest.py
@@ -6,10 +6,10 @@ import os, sys
python_versions = ['python2.5', 'python2.6']
# Expect these to exist in parent dir
-libnames = ['h166', 'h167', 'h180', 'h181', 'h182']
+libnames = ['h166', 'h180', 'h182']
# Additional options for each library version
-extraopts = {'h181': ['--api=16']}
+extraopts = {'h182': ['--api=16']}
def runcmd(cmd, logfile=None):
""" Execute a command, capturing output in a logfile.
@@ -40,11 +40,15 @@ for p in python_versions:
outfile = 'autotest-%s-%s-%s.txt' % (l, i, p)
- retvals.append(runcmd('%s setup.py build --hdf5=../%s %s' % (p, l, o), outfile))
- retvals.append(runcmd('%s setup.py test' % p))
- retvals.append(runcmd('%s setup.py clean' % p))
+ retvals.append( runcmd('%s setup.py configure --hdf5=../%s %s' % (p, l, o)) )
+ retvals.append( runcmd('%s setup.py build' % p, outfile) )
+ retvals.append( runcmd('%s setup.py test' % p) )
+ retvals.append( runcmd('%s setup.py clean' % p) )
+ if not any(retvals):
+ retvals = []
+ else:
+ sys.exit(17)
print 'Done'
-sys.exit(int(any(retvals))*17)
diff --git a/docs/source/_templates/layout.html b/docs/source/_templates/layout.html
index c0d015e..7f262e6 100644
--- a/docs/source/_templates/layout.html
+++ b/docs/source/_templates/layout.html
@@ -15,6 +15,14 @@
{% block footer %}
{{ super() }}
-{# tracker goes here #}
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-4330749-3");
+pageTracker._trackPageview();
+} catch(err) {}</script>
{% endblock %}
diff --git a/docs/source/index.rst b/docs/source/index.rst
index a2da019..e7cf169 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -2,7 +2,7 @@
.. _home:
*******************
-HDF5 for Python 1.0
+HDF5 for Python 1.1
*******************
The `HDF5 library <http://www.hdfgroup.com/HDF5>`_ is a versatile,
diff --git a/h5py/selections.py b/h5py/selections.py
index 5352222..d6ada73 100644
--- a/h5py/selections.py
+++ b/h5py/selections.py
@@ -305,12 +305,11 @@ class FancySelection(Selection):
perform_selection(start, count, step, idx)
mshape.append(count)
- elif isinstance(exp, np.ndarray) and exp.kind == 'b':
-
- raise NotImplementedError() # TODO: bool vector
-
else:
+ if isinstance(exp, np.ndarray) and exp.kind == 'b':
+ exp = list(exp.nonzero()[0])
+
try:
exp = list(exp)
except TypeError:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/h5py.git
More information about the debian-science-commits
mailing list