Skip to content

Commit

Permalink
time-warp back to 2.2.2 to fix version mix
Browse files Browse the repository at this point in the history
  • Loading branch information
c0fec0de committed Nov 18, 2017
1 parent 75e99c7 commit d2de031
Show file tree
Hide file tree
Showing 30 changed files with 74 additions and 1,046 deletions.
12 changes: 6 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
.. image:: https://coveralls.io/repos/github/c0fec0de/anytree/badge.svg
:target: https://coveralls.io/github/c0fec0de/anytree

.. image:: https://readthedocs.org/projects/anytree/badge/?version=2.3.dev0
:target: http://anytree.readthedocs.io/en/2.3.dev0/?badge=2.3.dev0
.. image:: https://readthedocs.org/projects/anytree/badge/?version=2.2.2
:target: http://anytree.readthedocs.io/en/2.2.2/?badge=2.2.2

.. image:: https://codeclimate.com/github/c0fec0de/anytree.png
:target: https://codeclimate.com/github/c0fec0de/anytree
Expand All @@ -28,9 +28,9 @@
Documentation
=============

The Documentation_ is hosted on http://anytree.readthedocs.io/en/2.3.dev0/
The Documentation_ is hosted on http://anytree.readthedocs.io/en/2.2.2/

.. _Documentation: http://anytree.readthedocs.io/en/2.3.dev0/
.. _Documentation: http://anytree.readthedocs.io/en/2.2.2/

Getting started
===============
Expand Down Expand Up @@ -69,9 +69,9 @@ Udo
├── Jan
└── Joe

>>> from anytree.exporter import DotExporter
>>> from anytree.dotexport import RenderTreeGraph
>>> # graphviz needs to be installed for the next line!
>>> DotExporter(root).to_picture("tree.png")
>>> RenderTreeGraph(root).to_picture("tree.png")

.. image:: http://anytree.readthedocs.io/en/latest/_images/tree.png

Expand Down
4 changes: 1 addition & 3 deletions anytree/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"""Powerful and Lightweight Python Tree Data Structure."""

__version__ = "2.3.dev0"
__version__ = "2.2.2"
__author__ = "c0fec0de"
__author_email__ = "c0fec0de@gmail.com"
__description__ = """Powerful and Lightweight Python Tree Data Structure.."""
Expand All @@ -13,11 +13,9 @@
from .iterators import PostOrderIter # noqa
from .iterators import PreOrderIter # noqa
from .iterators import ZigZagGroupIter # noqa
from .node import AnyNode # noqa
from .node import LoopError # noqa
from .node import Node # noqa
from .node import NodeMixin # noqa
from .node import TreeError # noqa
from .render import AbstractStyle # noqa
from .render import AsciiStyle # noqa
from .render import ContRoundStyle # noqa
Expand Down
7 changes: 0 additions & 7 deletions anytree/dotexport.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import warnings

from codecs import open
from os import path
from subprocess import check_call
Expand Down Expand Up @@ -160,11 +158,6 @@ def __init__(self, node, graph="digraph", name="tree", options=None,
"sub1C:2" -- "sub1Ca:3" [label="sub1C:sub1Ca"];
}
"""
warnings.warn(
("anytree.RenderTreeGraph has moved. "
"Use anytree.exporter.DotExporter instead"),
DeprecationWarning
)
self.node = node
self.graph = graph
self.name = name
Expand Down
5 changes: 0 additions & 5 deletions anytree/exporter/__init__.py

This file was deleted.

94 changes: 0 additions & 94 deletions anytree/exporter/dictexporter.py

This file was deleted.

0 comments on commit d2de031

Please sign in to comment.