diff --git a/aiozmq/__init__.py b/aiozmq/__init__.py index 8ebe5c0..a897854 100644 --- a/aiozmq/__init__.py +++ b/aiozmq/__init__.py @@ -12,7 +12,7 @@ 'ZmqTransport', 'ZmqProtocol', 'version_info', 'version') -__version__ = '0.4.0' +__version__ = '0.4.1' version = __version__ + ' , Python ' + sys.version diff --git a/docs/Makefile b/docs/Makefile index c907589..5ae8e88 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -151,3 +151,8 @@ doctest: $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest @echo "Testing of doctests in the sources finished, look at the " \ "results in $(BUILDDIR)/doctest/output.txt." + +spelling: + $(SPHINXBUILD) -b spelling -d $(BUILDDIR)/doctrees . $(BUILDDIR)/spelling + @echo + @echo "Spelling checker messages written to $(BUILDDIR)/spelling/output.txt." diff --git a/docs/conf.py b/docs/conf.py index d096a2e..dc83485 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,14 +16,13 @@ sys.version -#sys.path.insert(0, os.path.abspath('..')) -#import aiozmq +sys.path.insert(0, os.path.abspath('..')) +import aiozmq # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. -#sys.path.insert(0, os.path.abspath('.')) # -- General configuration ----------------------------------------------------- @@ -33,7 +32,8 @@ # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = ['sphinx.ext.viewcode', 'sphinx.ext.autodoc', - 'sphinx.ext.intersphinx'] + 'sphinx.ext.intersphinx', + 'sphinxcontrib.spelling'] intersphinx_mapping = {'python': ('http://docs.python.org/3', None), 'pyzmq': ('http://zeromq.github.io/pyzmq', None)} @@ -62,8 +62,8 @@ #version = '.'.join(str(i) for i in aiozmq.version_info[:2]) # The full version, including alpha/beta/rc tags. #release = aiozmq.__version__ -version = "0.4" -release = "0.4" +version = ".".join(str(i) for i in aiozmq.version_info[0:2]) +release = aiozmq.__version__ # The language for content autogenerated by Sphinx. Refer to documentation diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000..ef813d8 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,3 @@ +pyzmq +sphinxcontrib-spelling +pyenchant diff --git a/docs/spelling_wordlist.txt b/docs/spelling_wordlist.txt new file mode 100644 index 0000000..e69de29 diff --git a/requirements.txt b/requirements.txt index 928946e..c1b761c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -matplotlib>=1.3.1 +matplotlib msgpack-python>=0.4.2 nose>=1.3.1 numpy>=1.8.1 @@ -15,3 +15,5 @@ coverage>=3.7 elpy jedi rope_py3k +sphinxcontrib.spelling +pyenchant