🥚 🎡 release 0.5.3. related to https://github.com/pyexcel/pyexcel/issues/105
This commit is contained in:
parent
66be66309d
commit
1f6b2f77fd
|
@ -9,7 +9,6 @@ python:
|
|||
- 3.4
|
||||
- 3.3
|
||||
- 2.7
|
||||
- 2.6
|
||||
before_install:
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install flake8==2.6.2; fi
|
||||
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
|
||||
|
|
|
@ -1,6 +1,15 @@
|
|||
Change log
|
||||
================================================================================
|
||||
|
||||
0.5.3 - 23.10.2017
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
updated
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
#. pyexcel `#105 <https://github.com/pyexcel/pyexcel/issues/105>`_, remove gease
|
||||
from setup_requires, introduced by 0.5.2.
|
||||
#. remove python2.6 test support
|
||||
|
||||
0.5.2 - 20.10.2017
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ product, please `support me on patreon <https://www.patreon.com/bePatron?u=55376
|
|||
maintain the project and develop it further.
|
||||
|
||||
If you are an individual, you are welcome to support me too on patreon and for however long
|
||||
you feel like to. As a patreon, you will receive
|
||||
you feel like. As a patreon, you will receive
|
||||
`early access to pyexcel related contents <https://www.patreon.com/pyexcel/posts>`_.
|
||||
|
||||
With your financial support, I will be able to invest
|
||||
|
@ -116,7 +116,8 @@ extension to handle a specific file format.
|
|||
|
||||
Installation
|
||||
================================================================================
|
||||
You can install it via pip:
|
||||
|
||||
You can install pyexcel-io via pip:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
|
|
@ -22,8 +22,8 @@ master_doc = 'index'
|
|||
|
||||
project = u'pyexcel-io'
|
||||
copyright = u'2015-2017 Onni Software Ltd.'
|
||||
version = '0.5.2'
|
||||
release = '0.5.2'
|
||||
version = '0.5.3'
|
||||
release = '0.5.3'
|
||||
exclude_patterns = []
|
||||
pygments_style = 'sphinx'
|
||||
html_theme = 'default'
|
||||
|
|
|
@ -41,7 +41,8 @@ as of 2014. They are invented and supported by `pyexcel-io`_.
|
|||
Installation
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
You can install it via pip:
|
||||
|
||||
You can install pyexcel-io via pip:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
overrides: "pyexcel.yaml"
|
||||
name: "pyexcel-io"
|
||||
nick_name: io
|
||||
version: 0.5.2
|
||||
current_version: 0.5.2
|
||||
release: 0.5.2
|
||||
version: 0.5.3
|
||||
current_version: 0.5.3
|
||||
release: 0.5.3
|
||||
dependencies:
|
||||
- ordereddict;python_version<"2.7"
|
||||
- lml==0.0.1
|
||||
|
|
36
setup.py
36
setup.py
|
@ -1,15 +1,15 @@
|
|||
# Template by setupmobans
|
||||
import os
|
||||
import sys
|
||||
import codecs
|
||||
from shutil import rmtree
|
||||
from setuptools import setup, find_packages, Command
|
||||
import sys
|
||||
PY2 = sys.version_info[0] == 2
|
||||
PY26 = PY2 and sys.version_info[1] < 7
|
||||
|
||||
NAME = 'pyexcel-io'
|
||||
AUTHOR = 'C.W.'
|
||||
VERSION = '0.5.2'
|
||||
VERSION = '0.5.3'
|
||||
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.2.tar.gz' % URL
|
||||
DOWNLOAD_URL = '%s/archive/0.5.3.tar.gz' % URL
|
||||
FILES = ['README.rst', 'CHANGELOG.rst']
|
||||
KEYWORDS = [
|
||||
'API',
|
||||
|
@ -60,10 +60,11 @@ EXTRAS_REQUIRE = {
|
|||
'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.2 ' +
|
||||
"Find 0.5.2 in changelog for more details")
|
||||
GS_COMMAND = ('gs pyexcel-io v0.5.3 ' +
|
||||
"Find 0.5.3 in changelog for more details")
|
||||
here = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
|
||||
|
@ -86,18 +87,36 @@ class PublishCommand(Command):
|
|||
|
||||
def run(self):
|
||||
try:
|
||||
self.status('Removing previous builds…')
|
||||
self.status('Removing previous builds...')
|
||||
rmtree(os.path.join(here, 'dist'))
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
self.status('Building Source and Wheel (universal) distribution…')
|
||||
if os.system(GS_COMMAND) == 0:
|
||||
self.status('Building Source and Wheel (universal) distribution...')
|
||||
run_status = True
|
||||
if has_gease():
|
||||
run_status = os.system(GS_COMMAND) == 0
|
||||
else:
|
||||
self.status(NO_GS_MESSAGE)
|
||||
if run_status:
|
||||
os.system(PUBLISH_COMMAND)
|
||||
|
||||
sys.exit()
|
||||
|
||||
|
||||
def has_gease():
|
||||
"""
|
||||
test if github release command is installed
|
||||
|
||||
visit http://github.com/moremoban/gease for more info
|
||||
"""
|
||||
try:
|
||||
import gease # noqa
|
||||
return True
|
||||
except ImportError:
|
||||
return False
|
||||
|
||||
|
||||
def read_files(*files):
|
||||
"""Read files into setup"""
|
||||
text = ""
|
||||
|
@ -158,7 +177,6 @@ if __name__ == '__main__':
|
|||
include_package_data=True,
|
||||
zip_safe=False,
|
||||
classifiers=CLASSIFIERS,
|
||||
setup_requires=['gease'],
|
||||
cmdclass={
|
||||
'publish': PublishCommand,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue