diff --git a/README.rst b/README.rst index 0d83457..38fb3ac 100644 --- a/README.rst +++ b/README.rst @@ -287,7 +287,7 @@ Development steps for code changes Upgrade your setup tools and pip. They are needed for development and testing only: -#. pip install --upgrade setuptools "pip==7.1" +#. pip install --upgrade setuptools pip Then install relevant development requirements: @@ -296,7 +296,7 @@ Then install relevant development requirements: #. pip install -r tests/requirements.txt -In order to update test environment, and documentation, additional setps are +In order to update test environment, and documentation, additional steps are required: #. pip install moban @@ -325,7 +325,7 @@ Although `nose` and `doctest` are both used in code testing, it is adviable that On Linux/Unix systems, please launch your tests like this:: - $ make test + $ make On Windows systems, please issue this command:: diff --git a/docs/source/conf.py b/docs/source/conf.py index 62b0d6c..ae31813 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,4 +1,8 @@ # -*- coding: utf-8 -*- +DESCRIPTION = ( + 'A wrapper library to read, manipulate and write data in ods format' + + '' +) extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.doctest', @@ -16,8 +20,8 @@ master_doc = 'index' project = u'pyexcel-ods' copyright = u'2015-2017 Onni Software Ltd.' -version = '0.3.0' -release = '0.3.1' +version = '0.3.1' +release = '0.4.0' exclude_patterns = [] pygments_style = 'sphinx' html_theme = 'default' @@ -25,15 +29,19 @@ html_static_path = ['_static'] htmlhelp_basename = 'pyexcel-odsdoc' latex_elements = {} latex_documents = [ - ('index', 'pyexcel-ods.tex', u'pyexcel-ods Documentation', + ('index', 'pyexcel-ods.tex', + 'pyexcel-ods Documentation', 'Onni Software Ltd.', 'manual'), ] man_pages = [ - ('index', 'pyexcel-ods', u'pyexcel-ods Documentation', + ('index', 'pyexcel-ods', + 'pyexcel-ods Documentation', [u'Onni Software Ltd.'], 1) ] texinfo_documents = [ - ('index', 'pyexcel-ods', u'pyexcel-ods Documentation', - 'Onni Software Ltd.', 'pyexcel-ods', 'One line description of project.', + ('index', 'pyexcel-ods', + 'pyexcel-ods Documentation', + 'Onni Software Ltd.', 'pyexcel-ods', + DESCRIPTION, 'Miscellaneous'), ] diff --git a/pyexcel_ods.yaml b/pyexcel_ods.yaml index a2152a5..31a2d10 100644 --- a/pyexcel_ods.yaml +++ b/pyexcel_ods.yaml @@ -1,8 +1,8 @@ overrides: "pyexcel.yaml" name: "pyexcel-ods" nick_name: ods -version: 0.3.1 -release: 0.3.0 +version: 0.4.0 +release: 0.3.1 file_type: ods dependencies: - pyexcel-io>=0.3.0 diff --git a/setup.py b/setup.py index fb71b11..a7fba70 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ except ImportError: NAME = 'pyexcel-ods' AUTHOR = 'C.W.' -VERSION = '0.3.1' +VERSION = '0.4.0' EMAIL = 'wangc_2011 (at) hotmail.com' LICENSE = 'New BSD' DESCRIPTION = ( diff --git a/test.bat b/test.bat index 86e1379..7e4a6fa 100644 --- a/test.bat +++ b/test.bat @@ -1,4 +1,2 @@ - - pip freeze -nosetests --with-cov --cover-package pyexcel_ods --cover-package tests --with-doctest --doctest-extension=.rst tests README.rst docs/source pyexcel_ods && flake8 . --exclude=.moban.d --builtins=unicode,xrange,long +nosetests --with-cov --cover-package pyexcel_ods --cover-package tests --with-doctest --doctest-extension=.rst README.rst tests docs/source pyexcel_ods && flake8 . --exclude=.moban.d --builtins=unicode,xrange,long diff --git a/test.sh b/test.sh index 86e1379..7e4a6fa 100644 --- a/test.sh +++ b/test.sh @@ -1,4 +1,2 @@ - - pip freeze -nosetests --with-cov --cover-package pyexcel_ods --cover-package tests --with-doctest --doctest-extension=.rst tests README.rst docs/source pyexcel_ods && flake8 . --exclude=.moban.d --builtins=unicode,xrange,long +nosetests --with-cov --cover-package pyexcel_ods --cover-package tests --with-doctest --doctest-extension=.rst README.rst tests docs/source pyexcel_ods && flake8 . --exclude=.moban.d --builtins=unicode,xrange,long diff --git a/tests/base.py b/tests/base.py index f92845b..e469574 100644 --- a/tests/base.py +++ b/tests/base.py @@ -1,7 +1,7 @@ -import os +import os # noqa import pyexcel -import datetime -from nose.tools import raises, eq_ +import datetime # noqa +from nose.tools import raises, eq_ # noqa def create_sample_file1(file):