Skip to content

Commit cd4e647

Browse files
authored
Merge pull request #64 from pyexcel/0.5.x
🥚 🎡 0.5.13.
2 parents 02f2e6d + 881cda2 commit cd4e647

File tree

8 files changed

+72
-12
lines changed

8 files changed

+72
-12
lines changed

.moban.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1+
requires:
2+
- type: git
3+
url: https://github.com/moremoban/pypi-mobans
4+
submodule: true
5+
- https://github.com/pyexcel/pyexcel-mobans
16
configuration:
2-
configuration_dir: "commons/config"
7+
configuration_dir: "pyexcel-mobans:config"
38
template_dir:
4-
- "commons/templates"
5-
- "setupmobans/templates"
9+
- "pyexcel-mobans:templates"
10+
- "pypi-mobans:templates"
611
- ".moban.d"
712
configuration: pyexcel-io.yml
813
targets:
@@ -12,7 +17,6 @@ targets:
1217
- requirements.txt: requirements.txt.jj2
1318
- "tests/requirements.txt": "tests/requirements.txt"
1419
- LICENSE: NEW_BSD_LICENSE.jj2
15-
- MANIFEST.in: MANIFEST.in.jj2
1620
- test.sh: test.script.jj2
1721
- test.bat: test.script.jj2
1822
- README.rst: README.rst

CHANGELOG.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
Change log
22
================================================================================
33

4+
0.5.13 - 12.02.2019
5+
--------------------------------------------------------------------------------
6+
7+
updated
8+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9+
10+
#. `#63 <https://github.com/pyexcel/pyexcel-io/issues/63>`_: Version 0.5.12
11+
prevents xslx and ods plugin from being loaded
12+
13+
0.5.12 - 9.02.2019
14+
--------------------------------------------------------------------------------
15+
16+
updated
17+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18+
19+
#. `#60 <https://github.com/pyexcel/pyexcel-io/issues/60>`_: include tests in
20+
tar ball
21+
#. `#61 <https://github.com/pyexcel/pyexcel-io/issues/61>`_: enable python
22+
setup.py test
23+
424
0.5.10 - 3.12.2018
525
--------------------------------------------------------------------------------
626

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2015-2018 by Onni Software Ltd. and its contributors
1+
Copyright (c) 2015-2019 by Onni Software Ltd. and its contributors
22
All rights reserved.
33

44
Redistribution and use in source and binary forms of the software as well

MANIFEST.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
include README.rst
22
include LICENSE
33
include CHANGELOG.rst
4+
recursive-include tests *
5+
include docs/source/*
6+
include Makefile
7+
include test.sh
8+

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ Acceptance criteria
211211
#. Has all code lines tested
212212
#. Passes all Travis CI builds
213213
#. Has fair amount of documentation if your change is complex
214+
#. run 'make format' so as to confirm the pyexcel organisation's coding style
214215
#. Please update CHANGELOG.rst
215216
#. Please add yourself to CONTRIBUTORS.rst
216217
#. Agree on NEW BSD License for your contribution

changelog.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
name: pyexcel-io
22
organisation: pyexcel
33
releases:
4+
- changes:
5+
- action: updated
6+
details:
7+
- '`#63`: Version 0.5.12 prevents xslx and ods plugin from being loaded'
8+
version: 0.5.13
9+
date: 12.02.2019
10+
- changes:
11+
- action: updated
12+
details:
13+
- '`#60`: include tests in tar ball'
14+
- '`#61`: enable python setup.py test'
15+
version: 0.5.12
16+
date: 9.02.2019
417
- changes:
518
- action: updated
619
details:

pyexcel-io.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
overrides: "pyexcel.yaml"
22
name: "pyexcel-io"
33
nick_name: io
4-
version: 0.5.11
5-
current_version: 0.5.11
6-
release: 0.5.11
4+
version: 0.5.13
5+
current_version: 0.5.13
6+
release: 0.5.13
77
dependencies:
88
- ordereddict;python_version<"2.7"
99
- lml>=0.0.4

setup.py

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,40 @@
44
import os
55
import sys
66
import codecs
7+
import locale
8+
import platform
79
from shutil import rmtree
810

911
from setuptools import Command, setup, find_packages
1012

1113
PY2 = sys.version_info[0] == 2
1214
PY26 = PY2 and sys.version_info[1] < 7
15+
PY33 = sys.version_info < (3, 4)
16+
17+
# Work around mbcs bug in distutils.
18+
# http://bugs.python.org/issue10945
19+
# This work around is only if a project supports Python < 3.4
20+
21+
# Work around for locale not being set
22+
try:
23+
lc = locale.getlocale()
24+
pf = platform.system()
25+
if pf != 'Windows' and lc == (None, None):
26+
locale.setlocale(locale.LC_ALL, 'C.UTF-8')
27+
except (ValueError, UnicodeError, locale.Error):
28+
locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
1329

1430
NAME = 'pyexcel-io'
1531
AUTHOR = 'C.W.'
16-
VERSION = '0.5.11'
32+
VERSION = '0.5.13'
1733
EMAIL = 'wangc_2011@hotmail.com'
1834
LICENSE = 'New BSD'
1935
DESCRIPTION = (
2036
'A python library to read and write structured data in csv, zipped csv' +
2137
'format and to/from databases'
2238
)
2339
URL = 'https://github.com/pyexcel/pyexcel-io'
24-
DOWNLOAD_URL = '%s/archive/0.5.11.tar.gz' % URL
40+
DOWNLOAD_URL = '%s/archive/0.5.13.tar.gz' % URL
2541
FILES = ['README.rst', 'CHANGELOG.rst']
2642
KEYWORDS = [
2743
'python',
@@ -65,8 +81,8 @@
6581
# You do not need to read beyond this line
6682
PUBLISH_COMMAND = '{0} setup.py sdist bdist_wheel upload -r pypi'.format(
6783
sys.executable)
68-
GS_COMMAND = ('gs pyexcel-io v0.5.11 ' +
69-
"Find 0.5.11 in changelog for more details")
84+
GS_COMMAND = ('gs pyexcel-io v0.5.13 ' +
85+
"Find 0.5.13 in changelog for more details")
7086
NO_GS_MESSAGE = ('Automatic github release is disabled. ' +
7187
'Please install gease to enable it.')
7288
UPLOAD_FAILED_MSG = (
@@ -175,6 +191,7 @@ def filter_out_test_code(file_handle):
175191

176192
if __name__ == '__main__':
177193
setup(
194+
test_suite="tests",
178195
name=NAME,
179196
author=AUTHOR,
180197
version=VERSION,

0 commit comments

Comments
 (0)