release 0.5.4 🥚 🎡

This commit is contained in:
chfw 2017-11-10 20:56:54 +00:00
parent 5e444cd3af
commit 683280a51d
5 changed files with 23 additions and 12 deletions

View File

@ -1,6 +1,14 @@
Change log
================================================================================
0.5.4 - 10.11.2017
--------------------------------------------------------------------------------
updated
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#. PR `#44 <https://github.com/pyexcel/pyexcel-io/issues/44>`_, use unicodewriter
for csvz writers.
0.5.3 - 23.10.2017
--------------------------------------------------------------------------------

View File

@ -22,8 +22,8 @@ master_doc = 'index'
project = u'pyexcel-io'
copyright = u'2015-2017 Onni Software Ltd.'
version = '0.5.3'
release = '0.5.3'
version = '0.5.4'
release = '0.5.4'
exclude_patterns = []
pygments_style = 'sphinx'
html_theme = 'default'

View File

@ -1,9 +1,9 @@
overrides: "pyexcel.yaml"
name: "pyexcel-io"
nick_name: io
version: 0.5.3
current_version: 0.5.3
release: 0.5.3
version: 0.5.4
current_version: 0.5.4
release: 0.5.4
dependencies:
- ordereddict;python_version<"2.7"
- lml==0.0.1

View File

@ -31,8 +31,8 @@ class UnicodeWriter(object):
def writerow(self, row):
""" write row into the csv file """
self.writer.writerow([compact.text_type(s).encode("utf-8")
for s in row])
self.writer.writerow(
[compact.text_type(s).encode("utf-8") for s in row])
# Fetch UTF-8 output from the queue ...
data = self.queue.getvalue()
data = data.decode("utf-8")

View File

@ -9,7 +9,7 @@ PY26 = PY2 and sys.version_info[1] < 7
NAME = 'pyexcel-io'
AUTHOR = 'C.W.'
VERSION = '0.5.3'
VERSION = '0.5.4'
EMAIL = 'wangc_2011@hotmail.com'
LICENSE = 'New BSD'
DESCRIPTION = (
@ -18,7 +18,7 @@ DESCRIPTION = (
''
)
URL = 'https://github.com/pyexcel/pyexcel-io'
DOWNLOAD_URL = '%s/archive/0.5.3.tar.gz' % URL
DOWNLOAD_URL = '%s/archive/0.5.4.tar.gz' % URL
FILES = ['README.rst', 'CHANGELOG.rst']
KEYWORDS = [
'API',
@ -63,10 +63,12 @@ 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.3 ' +
"Find 0.5.3 in changelog for more details")
GS_COMMAND = ('gs pyexcel-io v0.5.4 ' +
"Find 0.5.4 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)
HERE = os.path.abspath(os.path.dirname(__file__))
@ -101,7 +103,8 @@ class PublishCommand(Command):
else:
self.status(NO_GS_MESSAGE)
if run_status:
os.system(PUBLISH_COMMAND)
if os.system(PUBLISH_COMMAND) != 0:
self.status(UPLOAD_FAILED_MSG % PUBLISH_COMMAND)
sys.exit()