📚 update docs and prepare for an incremental release

This commit is contained in:
chfw 2019-07-14 08:17:35 +01:00
parent 3a6e86cfd6
commit 84ec6199fb
6 changed files with 69 additions and 37 deletions

View File

@ -1,4 +1,3 @@
sudo: false
dist: xenial
language: python
@ -16,34 +15,52 @@ python:
stages:
- test
- lint
- moban
.disable_global: &disable_global
addons: false
cache: false
env: {}
python: false
before_install: false
install: true
install: false
before_script: false
script: false
after_success: false
after_failure: false
before_deploy: false
deploy: false
.lint: &lint
<<: *disable_global
git:
submodules: false
python: 3.6
stage: lint
install: pip install flake8
script: make lint
.moban: &moban
<<: *disable_global
python: 3.6
stage: moban
install: pip install moban>=0.0.4
script:
- moban
- git diff --exit-code
jobs:
include:
- *moban
- *lint
stage: test
script: make test
before_install:
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
mv min_requirements.txt requirements.txt ;
fi
- test ! -f rnd_requirements.txt || pip install --no-deps -r rnd_requirements.txt
- test ! -f rnd_requirements.txt ||
pip install --no-deps -r rnd_requirements.txt
- test ! -f rnd_requirements.txt || pip install -r rnd_requirements.txt ;
- pip install -r tests/requirements.txt
script:

View File

@ -1,6 +1,15 @@
Change log
================================================================================
0.5.19 - 14.7.2019
--------------------------------------------------------------------------------
updated
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#. `pyexcel#185 <https://github.com/pyexcel/pyexcel/issues/185>`_: handle stream
conversion if file type(html) needs string content then bytes to handle
0.5.18 - 12.06.2019
--------------------------------------------------------------------------------

View File

@ -1,6 +1,12 @@
name: pyexcel-io
organisation: pyexcel
releases:
- changes:
- action: updated
details:
- '`pyexcel#185`: handle stream conversion if file type(html) needs string content then bytes to handle'
version: 0.5.19
date: 14.7.2019
- changes:
- action: updated
details:

View File

@ -26,9 +26,9 @@ project = 'pyexcel-io'
copyright = '2015-2019 Onni Software Ltd.'
author = 'C.W.'
# The short X.Y version
version = '0.5.18'
version = '0.5.19'
# The full version, including alpha/beta/rc tags
release = '0.5.18'
release = '0.5.19'
# -- General configuration ---------------------------------------------------

View File

@ -2,9 +2,9 @@ overrides: "pyexcel.yaml"
project: "pyexcel-io"
name: pyexcel-io
nick_name: io
version: 0.5.18
current_version: 0.5.18
release: 0.5.18
version: 0.5.19
current_version: 0.5.19
release: 0.5.19
copyright_year: 2015-2019
dependencies:
- ordereddict;python_version<"2.7"

View File

@ -29,15 +29,15 @@ except (ValueError, UnicodeError, locale.Error):
NAME = "pyexcel-io"
AUTHOR = "C.W."
VERSION = "0.5.18"
VERSION = "0.5.19"
EMAIL = "info@pyexcel.org"
LICENSE = "New BSD"
DESCRIPTION = (
"A python library to read and write structured data in csv, zipped csv"
+ "format and to/from databases"
"A python library to read and write structured data in csv, zipped csv" +
"format and to/from databases"
)
URL = "https://github.com/pyexcel/pyexcel-io"
DOWNLOAD_URL = "%s/archive/0.5.18.tar.gz" % URL
DOWNLOAD_URL = "%s/archive/0.5.19.tar.gz" % URL
FILES = ["README.rst", "CHANGELOG.rst"]
KEYWORDS = [
"python",
@ -60,38 +60,37 @@ CLASSIFIERS = [
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: Implementation :: PyPy",
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: Implementation :: PyPy'
]
INSTALL_REQUIRES = ["lml>=0.0.4"]
INSTALL_REQUIRES = [
"lml>=0.0.4",
]
SETUP_COMMANDS = {}
if PY26:
INSTALL_REQUIRES.append("ordereddict")
INSTALL_REQUIRES.append('ordereddict')
PACKAGES = find_packages(exclude=["ez_setup", "examples", "tests"])
EXTRAS_REQUIRE = {
"xls": ["pyexcel-xls>=0.5.0"],
"xlsx": ["pyexcel-xlsx>=0.5.0"],
"ods": ["pyexcel-ods3>=0.5.0"],
"xls": ['pyexcel-xls>=0.5.0'],
"xlsx": ['pyexcel-xlsx>=0.5.0'],
"ods": ['pyexcel-ods3>=0.5.0'],
}
# You do not need to read beyond this line
PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(
sys.executable
)
GS_COMMAND = (
"gs pyexcel-io v0.5.18 " + "Find 0.5.18 in changelog for more details"
)
NO_GS_MESSAGE = (
"Automatic github release is disabled. "
+ "Please install gease to enable it."
)
PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(sys.executable)
GS_COMMAND = ("gs pyexcel-io v0.5.19 " +
"Find 0.5.19 in changelog for more details")
NO_GS_MESSAGE = ("Automatic github release is disabled. " +
"Please install gease to enable it.")
UPLOAD_FAILED_MSG = (
'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND
)
'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND)
HERE = os.path.abspath(os.path.dirname(__file__))
@ -134,7 +133,9 @@ class PublishCommand(Command):
sys.exit()
SETUP_COMMANDS.update({"publish": PublishCommand})
SETUP_COMMANDS.update({
"publish": PublishCommand
})
def has_gease():
@ -145,7 +146,6 @@ def has_gease():
"""
try:
import gease # noqa
return True
except ImportError:
return False
@ -213,5 +213,5 @@ if __name__ == "__main__":
include_package_data=True,
zip_safe=False,
classifiers=CLASSIFIERS,
cmdclass=SETUP_COMMANDS,
cmdclass=SETUP_COMMANDS
)