📚 prepare for new release

This commit is contained in:
chfw 2019-02-09 22:27:44 +00:00
parent e0c7fedc04
commit 33bd35d9b3
8 changed files with 55 additions and 116 deletions

View File

@ -11,7 +11,7 @@ configuration:
- ".moban.d"
configuration: pyexcel-io.yml
targets:
- "docs/source/conf.py": "docs/source/conf.py"
- "docs/source/conf.py": "docs/conf.py_t"
- setup.py: setup.py
- .travis.yml: travis.yml.jj2
- requirements.txt: requirements.txt.jj2

View File

@ -1,7 +1,16 @@
Change log
================================================================================
0.5.10 - 3.12.2018
0.5.12 - 9.02.2019
--------------------------------------------------------------------------------
updated
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#. `#60 <https://github.com/pyexcel/pyexcel-io/issues/60>`_: include tests in
tar ball
0.5.11 - 3.12.2018
--------------------------------------------------------------------------------
updated

View File

@ -1,4 +1,4 @@
Copyright (c) 2015-2018 by Onni Software Ltd. and its contributors
Copyright (c) by Onni Software Ltd. and its contributors
All rights reserved.
Redistribution and use in source and binary forms of the software as well

View File

@ -1,6 +1,12 @@
name: pyexcel-io
organisation: pyexcel
releases:
- changes:
- action: updated
details:
- '`#60`: include tests in tar ball'
version: 0.5.12
date: 9.02.2019
- changes:
- action: updated
details:

View File

@ -1,15 +1,7 @@
# -*- coding: utf-8 -*-
DESCRIPTION = (
'A python library to read and write structured data in csv, zipped csv ' +
'format and to/from databases' +
''
)
# -*- coding: utf-8 -*-
#
# Configuration file for the Sphinx documentation builder.
#
# This file does only contain a selection of the most common options. For a
# full list see the documentation:
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# http://www.sphinx-doc.org/en/master/config
# -- Path setup --------------------------------------------------------------
@ -24,54 +16,47 @@ DESCRIPTION = (
# -- Project information -----------------------------------------------------
project = u'pyexcel-io'
copyright = u'2015-2018 Onni Software Ltd.'
author = u'C.W.'
project = 'pyexcel-io'
copyright = 'copyright 2015-2019 Onni Software Ltd.'
author = 'C.W.'
# The short X.Y version
version = u'0.5.11'
version = '0.5.12'
# The full version, including alpha/beta/rc tags
release = u'0.6.0'
release = '0.5.12'
# -- General configuration ---------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
#
# needs_sphinx = '1.0'
# 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.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.viewcode',]
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
templates_path = ['templates']
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
# source_suffix = ['.rst', '.md']
source_suffix = '.rst'
source_suffix = ''
# The master toctree document.
master_doc = 'index'
master_doc = ''
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = 'en'
language = ''
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = []
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = None
# -- Options for HTML output -------------------------------------------------
@ -89,7 +74,7 @@ html_theme = 'alabaster'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_static_path = ['static']
# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
@ -102,63 +87,6 @@ html_static_path = ['_static']
# html_sidebars = {}
# -- Options for HTMLHelp output ---------------------------------------------
# Output file base name for HTML help builder.
htmlhelp_basename = 'pyexcel-iodoc'
# -- Options for LaTeX output ------------------------------------------------
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#
# 'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
#
# 'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
#
# 'preamble': '',
# Latex figure (float) alignment
#
# 'figure_align': 'htbp',
}
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'pyexcel-io.tex', u'pyexcel-io Documentation',
u'Onni Software Ltd.', 'manual'),
]
# -- Options for manual page output ------------------------------------------
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, 'pyexcel-io', u'pyexcel-io Documentation',
[author], 1)
]
# -- Options for Texinfo output ----------------------------------------------
# Grouping the document tree into Texinfo files. List of tuples
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'pyexcel-io', u'pyexcel-io Documentation',
author, 'pyexcel-io', 'One line description of project.',
'Miscellaneous'),
]
# -- Options for Epub output -------------------------------------------------
# Bibliographic Dublin Core info.
@ -181,23 +109,3 @@ epub_exclude_files = ['search.html']
# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'https://docs.python.org/': None}
# TODO: html_theme not configurable upstream
html_theme = 'default'
def setup(app):
app.add_stylesheet('theme_overrides.css')
# TODO: DESCRIPTION not configurable upstream
texinfo_documents = [
('index', 'pyexcel-io',
'pyexcel-io Documentation',
'Onni Software Ltd.', 'pyexcel-io',
DESCRIPTION,
'Miscellaneous'),
]
intersphinx_mapping.update({
'pyexcel': ('http://pyexcel.readthedocs.io/en/latest/', None),
})

View File

@ -10,7 +10,6 @@
:Source code: http://github.com/pyexcel/pyexcel-io.git
:Issues: http://github.com/pyexcel/pyexcel-io/issues
:License: New BSD License
:Development: |release|
:Released: |version|
:Generated: |today|

View File

@ -1,9 +1,10 @@
overrides: "pyexcel.yaml"
name: "pyexcel-io"
project: "pyexcel-io"
name: pyexcel-io
nick_name: io
version: 0.6.0
current_version: 0.6.0
release: 0.5.11
version: 0.5.12
current_version: 0.5.12
release: 0.5.12
dependencies:
- ordereddict;python_version<"2.7"
- lml>=0.0.4

View File

@ -4,16 +4,32 @@
import os
import sys
import codecs
import locale
import platform
from shutil import rmtree
from setuptools import Command, setup, find_packages
PY2 = sys.version_info[0] == 2
PY26 = PY2 and sys.version_info[1] < 7
PY33 = sys.version_info < (3, 4)
# Work around mbcs bug in distutils.
# http://bugs.python.org/issue10945
# This work around is only if a project supports Python < 3.4
# Work around for locale not being set
try:
lc = locale.getlocale()
pf = platform.system()
if pf != 'Windows' and lc == (None, None):
locale.setlocale(locale.LC_ALL, 'C.UTF-8')
except (ValueError, UnicodeError, locale.Error):
locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
NAME = 'pyexcel-io'
AUTHOR = 'C.W.'
VERSION = '0.6.0'
VERSION = '0.5.12'
EMAIL = 'wangc_2011@hotmail.com'
LICENSE = 'New BSD'
DESCRIPTION = (
@ -21,7 +37,7 @@ DESCRIPTION = (
'format and to/from databases'
)
URL = 'https://github.com/pyexcel/pyexcel-io'
DOWNLOAD_URL = '%s/archive/0.5.11.tar.gz' % URL
DOWNLOAD_URL = '%s/archive/0.5.12.tar.gz' % URL
FILES = ['README.rst', 'CHANGELOG.rst']
KEYWORDS = [
'python',
@ -65,8 +81,8 @@ EXTRAS_REQUIRE = {
# 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.11 ' +
"Find 0.5.11 in changelog for more details")
GS_COMMAND = ('gs pyexcel-io v0.5.12 ' +
"Find 0.5.12 in changelog for more details")
NO_GS_MESSAGE = ('Automatic github release is disabled. ' +
'Please install gease to enable it.')
UPLOAD_FAILED_MSG = (