squashed changes for 0.13.0
- support Python 3.6, refactor CI/test setup, increase test coverage
- refactor BidirectionalMapping, BidictBase, OrderedBidictBase,
FrozenBidictBase, and subclasses
- move frozenorderedbidict into _frozen and looseorderedbidict into _loose
- register bidict as a virtual subclass of MutableMapping rather than
inheriting from it directly. This makes it clearer that it does not use any
of the concrete generic methods that MutableMapping provides.
- improve performance and flexibility of frozenbidict and
frozenorderedbidict hashing
- docs, including new type-hierarchy.png diagram
- rm unused imap, ifilter, izip_longest from compat, add PYPY
- update to latest versions of dependencies
- restore benchmarking on travis
2017-01-09 15:37:31 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2017-11-16 20:44:51 +00:00
|
|
|
GRAPH_SRC="type-hierarchy.txt"
|
|
|
|
MODIFIED_GRAPH_SRC="$(git ls-files -m | grep ${GRAPH_SRC})"
|
squashed changes for 0.13.0
- support Python 3.6, refactor CI/test setup, increase test coverage
- refactor BidirectionalMapping, BidictBase, OrderedBidictBase,
FrozenBidictBase, and subclasses
- move frozenorderedbidict into _frozen and looseorderedbidict into _loose
- register bidict as a virtual subclass of MutableMapping rather than
inheriting from it directly. This makes it clearer that it does not use any
of the concrete generic methods that MutableMapping provides.
- improve performance and flexibility of frozenbidict and
frozenorderedbidict hashing
- docs, including new type-hierarchy.png diagram
- rm unused imap, ifilter, izip_longest from compat, add PYPY
- update to latest versions of dependencies
- restore benchmarking on travis
2017-01-09 15:37:31 +00:00
|
|
|
|
2017-11-16 20:44:51 +00:00
|
|
|
if [[ -n "${MODIFIED_GRAPH_SRC}" ]]; then
|
|
|
|
if which graph-easy &>/dev/null ; then
|
|
|
|
graph-easy "${MODIFIED_GRAPH_SRC}" --png
|
|
|
|
if [[ "$?" -eq 0 ]]; then
|
|
|
|
if which optipng &>/dev/null ; then
|
|
|
|
optipng _static/type-hierarchy.png
|
|
|
|
else
|
|
|
|
echo -e "\033[0;31m* optipng not found, skipping. Hint: brew install optipng\033[0m\0007"
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
echo -e "\033[0;31m* graph-easy failed. Hint: brew install graphviz\033[0m\0007"
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
echo -e "\033[0;31m* graph-easy not found, skipping. Hint: sudo cpanm Graph::Easy\033[0m\0007"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd docs
|
|
|
|
make clean html $@
|