From: Marek Marecki Date: Sat, 6 Jul 2013 10:31:39 +0000 (+0200) Subject: Added `__version__` to `diaspy/__init__.py`; updated docs X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=240a85ae28946f1229497ba7a935e05c0a096996;p=diaspy.git Added `__version__` to `diaspy/__init__.py`; updated docs --- diff --git a/Makefile b/Makefile index 4bb7617..d2d66b2 100644 --- a/Makefile +++ b/Makefile @@ -10,4 +10,7 @@ test-python2: python2 -m unittest --verbose --catch --failfast tests.py clean: - rm -rv {*,.}/__pycache__/ + rm -rv diaspy/__pycache__/ + rm -rv diaspy/*.pyc + rm -rv ./__pycache__/ + rm -rv *.pyc diff --git a/diaspy/__init__.py b/diaspy/__init__.py index 172431a..0d3caa3 100644 --- a/diaspy/__init__.py +++ b/diaspy/__init__.py @@ -4,3 +4,6 @@ import diaspy.streams as streams import diaspy.client as client import diaspy.people as people import diaspy.notifications as notifications + + +__version__ = '0.2.0' diff --git a/docs/Makefile b/docs/Makefile index e5c4c15..024fa96 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -39,7 +39,7 @@ help: @echo " doctest to run all doctests embedded in the documentation (if enabled)" clean: - -rm -rf $(BUILDDIR)/* + -rm -rvf $(BUILDDIR)/* html: $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html diff --git a/docs/source/conf.py b/docs/source/conf.py index e9d90fa..b255156 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -51,9 +51,9 @@ copyright = '2013, Moritz Kiefer' # built documents. # # The short X.Y version. -version = '0.0.1' +version = '0.2.0' # The full version, including alpha/beta/rc tags. -release = '0.0.1' +release = '0.2.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/source/modules.rst b/docs/source/modules.rst index dcda9d0..707a7ba 100644 --- a/docs/source/modules.rst +++ b/docs/source/modules.rst @@ -4,8 +4,10 @@ diaspy .. toctree:: :maxdepth: 4 - client + connection models streams - connection conversations + people + errors + client