🔨 update setup.py. https://github.com/pyexcel/pyexcel-xlsx/issues/46
This commit is contained in:
parent
03f8e0dd49
commit
e849d0d14e
|
@ -1,6 +1,14 @@
|
||||||
Change log
|
Change log
|
||||||
================================================================================
|
================================================================================
|
||||||
|
|
||||||
|
0.6.1 - 21.10.2020
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
**Updated**
|
||||||
|
|
||||||
|
#. Restrict this library to get installed on python 3.6+, because pyexcel-io
|
||||||
|
0.6.0+ supports only python 3.6+.
|
||||||
|
|
||||||
0.6.0 - 8.10.2020
|
0.6.0 - 8.10.2020
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ pyexcel-xls - Let you focus on data, instead of xls format
|
||||||
.. image:: https://raw.githubusercontent.com/pyexcel/pyexcel.github.io/master/images/patreon.png
|
.. image:: https://raw.githubusercontent.com/pyexcel/pyexcel.github.io/master/images/patreon.png
|
||||||
:target: https://www.patreon.com/chfw
|
:target: https://www.patreon.com/chfw
|
||||||
|
|
||||||
.. image:: https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg
|
.. image:: https://raw.githubusercontent.com/pyexcel/pyexcel-mobans/master/images/awesome-badge.svg
|
||||||
:target: https://awesome-python.com/#specific-formats-processing
|
:target: https://awesome-python.com/#specific-formats-processing
|
||||||
|
|
||||||
.. image:: https://travis-ci.org/pyexcel/pyexcel-xls.svg?branch=master
|
.. image:: https://travis-ci.org/pyexcel/pyexcel-xls.svg?branch=master
|
||||||
|
@ -65,6 +65,8 @@ Known constraints
|
||||||
|
|
||||||
Fonts, colors and charts are not supported.
|
Fonts, colors and charts are not supported.
|
||||||
|
|
||||||
|
Nor to read password protected xls, xlsx and ods files.
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
================================================================================
|
================================================================================
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
name: pyexcel-xls
|
name: pyexcel-xls
|
||||||
organisation: pyexcel
|
organisation: pyexcel
|
||||||
releases:
|
releases:
|
||||||
|
- changes:
|
||||||
|
- action: Updated
|
||||||
|
details:
|
||||||
|
- "Restrict this library to get installed on python 3.6+, because pyexcel-io 0.6.0+ supports only python 3.6+."
|
||||||
|
date: 21.10.2020
|
||||||
|
version: 0.6.1
|
||||||
- changes:
|
- changes:
|
||||||
- action: Updated
|
- action: Updated
|
||||||
details:
|
details:
|
||||||
|
|
|
@ -24,11 +24,11 @@ DESCRIPTION = (
|
||||||
|
|
||||||
project = 'pyexcel-xls'
|
project = 'pyexcel-xls'
|
||||||
copyright = '2015-2020 Onni Software Ltd.'
|
copyright = '2015-2020 Onni Software Ltd.'
|
||||||
author = 'chfw'
|
author = 'C.W.'
|
||||||
# The short X.Y version
|
# The short X.Y version
|
||||||
version = '0.6.0'
|
version = '0.6.1'
|
||||||
# The full version, including alpha/beta/rc tags
|
# The full version, including alpha/beta/rc tags
|
||||||
release = '0.6.0'
|
release = '0.6.1'
|
||||||
|
|
||||||
# -- General configuration ---------------------------------------------------
|
# -- General configuration ---------------------------------------------------
|
||||||
|
|
||||||
|
|
2
lint.sh
2
lint.sh
|
@ -1,2 +1,2 @@
|
||||||
pip install flake8
|
pip install flake8
|
||||||
flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . && python setup.py checkdocs
|
flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . && python setup.py checkdocs
|
|
@ -1,9 +1,9 @@
|
||||||
overrides: "pyexcel.yaml"
|
overrides: "pyexcel.yaml"
|
||||||
name: "pyexcel-xls"
|
name: "pyexcel-xls"
|
||||||
nick_name: xls
|
nick_name: xls
|
||||||
version: 0.6.0
|
version: 0.6.1
|
||||||
current_version: 0.6.0
|
current_version: 0.6.1
|
||||||
release: 0.6.0
|
release: 0.6.1
|
||||||
file_type: xls
|
file_type: xls
|
||||||
is_on_conda: true
|
is_on_conda: true
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -14,3 +14,5 @@ test_dependencies:
|
||||||
- pyexcel
|
- pyexcel
|
||||||
description: A wrapper library to read, manipulate and write data in xls format. It reads xlsx and xlsm format
|
description: A wrapper library to read, manipulate and write data in xls format. It reads xlsx and xlsm format
|
||||||
moban_command: false
|
moban_command: false
|
||||||
|
python_requires: ">=3.6"
|
||||||
|
min_python_version: "3.6"
|
||||||
|
|
26
setup.py
26
setup.py
|
@ -31,8 +31,8 @@ except (ValueError, UnicodeError, locale.Error):
|
||||||
locale.setlocale(locale.LC_ALL, "en_US.UTF-8")
|
locale.setlocale(locale.LC_ALL, "en_US.UTF-8")
|
||||||
|
|
||||||
NAME = "pyexcel-xls"
|
NAME = "pyexcel-xls"
|
||||||
AUTHOR = "chfw"
|
AUTHOR = "C.W."
|
||||||
VERSION = "0.6.0"
|
VERSION = "0.6.1"
|
||||||
EMAIL = "info@pyexcel.org"
|
EMAIL = "info@pyexcel.org"
|
||||||
LICENSE = "New BSD"
|
LICENSE = "New BSD"
|
||||||
DESCRIPTION = (
|
DESCRIPTION = (
|
||||||
|
@ -40,7 +40,7 @@ DESCRIPTION = (
|
||||||
"reads xlsx and xlsm format"
|
"reads xlsx and xlsm format"
|
||||||
)
|
)
|
||||||
URL = "https://github.com/pyexcel/pyexcel-xls"
|
URL = "https://github.com/pyexcel/pyexcel-xls"
|
||||||
DOWNLOAD_URL = "%s/archive/0.6.0.tar.gz" % URL
|
DOWNLOAD_URL = "%s/archive/0.6.1.tar.gz" % URL
|
||||||
FILES = ["README.rst","CONTRIBUTORS.rst", "CHANGELOG.rst"]
|
FILES = ["README.rst","CONTRIBUTORS.rst", "CHANGELOG.rst"]
|
||||||
KEYWORDS = [
|
KEYWORDS = [
|
||||||
"python",
|
"python",
|
||||||
|
@ -53,11 +53,11 @@ CLASSIFIERS = [
|
||||||
"Topic :: Software Development :: Libraries",
|
"Topic :: Software Development :: Libraries",
|
||||||
"Programming Language :: Python",
|
"Programming Language :: Python",
|
||||||
"Intended Audience :: Developers",
|
"Intended Audience :: Developers",
|
||||||
"Programming Language :: Python :: 2.6",
|
|
||||||
"Programming Language :: Python :: 2.7",
|
"Programming Language :: Python :: 3 :: Only",
|
||||||
"Programming Language :: Python :: 3.3",
|
|
||||||
"Programming Language :: Python :: 3.4",
|
|
||||||
"Programming Language :: Python :: 3.5",
|
|
||||||
"Programming Language :: Python :: 3.6",
|
"Programming Language :: Python :: 3.6",
|
||||||
"Programming Language :: Python :: 3.7",
|
"Programming Language :: Python :: 3.7",
|
||||||
"Programming Language :: Python :: 3.8",
|
"Programming Language :: Python :: 3.8",
|
||||||
|
@ -65,6 +65,7 @@ CLASSIFIERS = [
|
||||||
'Programming Language :: Python :: Implementation :: PyPy'
|
'Programming Language :: Python :: Implementation :: PyPy'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
PYTHON_REQUIRES = ">=3.6"
|
||||||
|
|
||||||
INSTALL_REQUIRES = [
|
INSTALL_REQUIRES = [
|
||||||
"pyexcel-io>=0.5.3",
|
"pyexcel-io>=0.5.3",
|
||||||
|
@ -78,13 +79,14 @@ EXTRAS_REQUIRE = {
|
||||||
}
|
}
|
||||||
# You do not need to read beyond this line
|
# You do not need to read beyond this line
|
||||||
PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(sys.executable)
|
PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(sys.executable)
|
||||||
GS_COMMAND = ("gs pyexcel-xls v0.6.0 " +
|
HERE = os.path.abspath(os.path.dirname(__file__))
|
||||||
"Find 0.6.0 in changelog for more details")
|
|
||||||
|
GS_COMMAND = ("gease pyexcel-xls v0.6.1 " +
|
||||||
|
"Find 0.6.1 in changelog for more details")
|
||||||
NO_GS_MESSAGE = ("Automatic github release is disabled. " +
|
NO_GS_MESSAGE = ("Automatic github release is disabled. " +
|
||||||
"Please install gease to enable it.")
|
"Please install gease to enable it.")
|
||||||
UPLOAD_FAILED_MSG = (
|
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__))
|
|
||||||
|
|
||||||
|
|
||||||
class PublishCommand(Command):
|
class PublishCommand(Command):
|
||||||
|
@ -130,7 +132,6 @@ SETUP_COMMANDS.update({
|
||||||
"publish": PublishCommand
|
"publish": PublishCommand
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
def has_gease():
|
def has_gease():
|
||||||
"""
|
"""
|
||||||
test if github release command is installed
|
test if github release command is installed
|
||||||
|
@ -199,6 +200,7 @@ if __name__ == "__main__":
|
||||||
long_description=read_files(*FILES),
|
long_description=read_files(*FILES),
|
||||||
license=LICENSE,
|
license=LICENSE,
|
||||||
keywords=KEYWORDS,
|
keywords=KEYWORDS,
|
||||||
|
python_requires=PYTHON_REQUIRES,
|
||||||
extras_require=EXTRAS_REQUIRE,
|
extras_require=EXTRAS_REQUIRE,
|
||||||
tests_require=["nose"],
|
tests_require=["nose"],
|
||||||
install_requires=INSTALL_REQUIRES,
|
install_requires=INSTALL_REQUIRES,
|
||||||
|
|
Loading…
Reference in New Issue