🔥 remove moban stage check
This commit is contained in:
parent
a85249530d
commit
01ba94c301
10
.travis.yml
10
.travis.yml
|
@ -15,7 +15,6 @@ python:
|
|||
stages:
|
||||
- test
|
||||
- lint
|
||||
- moban
|
||||
|
||||
.disable_global: &disable_global
|
||||
addons: false
|
||||
|
@ -39,15 +38,6 @@ stages:
|
|||
stage: lint
|
||||
script: make lint
|
||||
|
||||
.moban: &moban
|
||||
<<: *disable_global
|
||||
python: 3.6
|
||||
stage: moban
|
||||
install: pip install moban>=0.0.4
|
||||
script:
|
||||
- moban
|
||||
- git diff --exit-code
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- *moban
|
||||
|
|
|
@ -5,6 +5,7 @@ nick_name: io
|
|||
version: 0.5.20
|
||||
current_version: 0.5.20
|
||||
release: 0.5.20
|
||||
moban_command: false
|
||||
copyright_year: 2015-2019
|
||||
dependencies:
|
||||
- ordereddict;python_version<"2.7"
|
||||
|
|
48
setup.py
48
setup.py
|
@ -33,8 +33,8 @@ VERSION = "0.5.20"
|
|||
EMAIL = "info@pyexcel.org"
|
||||
LICENSE = "New BSD"
|
||||
DESCRIPTION = (
|
||||
"A python library to read and write structured data in csv, zipped csv" +
|
||||
"format and to/from databases"
|
||||
"A python library to read and write structured data in csv, zipped csv"
|
||||
+ "format and to/from databases"
|
||||
)
|
||||
URL = "https://github.com/pyexcel/pyexcel-io"
|
||||
DOWNLOAD_URL = "%s/archive/0.5.20.tar.gz" % URL
|
||||
|
@ -60,37 +60,38 @@ CLASSIFIERS = [
|
|||
"Programming Language :: Python :: 3.4",
|
||||
"Programming Language :: Python :: 3.5",
|
||||
"Programming Language :: Python :: 3.6",
|
||||
|
||||
"Programming Language :: Python :: 3.7",
|
||||
|
||||
"Programming Language :: Python :: 3.8",
|
||||
|
||||
'License :: OSI Approved :: BSD License',
|
||||
'Programming Language :: Python :: Implementation :: PyPy'
|
||||
"License :: OSI Approved :: BSD License",
|
||||
"Programming Language :: Python :: Implementation :: PyPy",
|
||||
]
|
||||
|
||||
INSTALL_REQUIRES = [
|
||||
"lml>=0.0.4",
|
||||
]
|
||||
INSTALL_REQUIRES = ["lml>=0.0.4"]
|
||||
SETUP_COMMANDS = {}
|
||||
|
||||
if PY26:
|
||||
INSTALL_REQUIRES.append('ordereddict')
|
||||
INSTALL_REQUIRES.append("ordereddict")
|
||||
|
||||
PACKAGES = find_packages(exclude=["ez_setup", "examples", "tests"])
|
||||
EXTRAS_REQUIRE = {
|
||||
"xls": ['pyexcel-xls>=0.5.0'],
|
||||
"xlsx": ['pyexcel-xlsx>=0.5.0'],
|
||||
"ods": ['pyexcel-ods3>=0.5.0'],
|
||||
"xls": ["pyexcel-xls>=0.5.0"],
|
||||
"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.20 " +
|
||||
"Find 0.5.20 in changelog for more details")
|
||||
NO_GS_MESSAGE = ("Automatic github release is disabled. " +
|
||||
"Please install gease to enable it.")
|
||||
PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(
|
||||
sys.executable
|
||||
)
|
||||
GS_COMMAND = (
|
||||
"gs pyexcel-io v0.5.20 " + "Find 0.5.20 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)
|
||||
'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND
|
||||
)
|
||||
HERE = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
|
||||
|
@ -133,9 +134,7 @@ class PublishCommand(Command):
|
|||
sys.exit()
|
||||
|
||||
|
||||
SETUP_COMMANDS.update({
|
||||
"publish": PublishCommand
|
||||
})
|
||||
SETUP_COMMANDS.update({"publish": PublishCommand})
|
||||
|
||||
|
||||
def has_gease():
|
||||
|
@ -146,6 +145,7 @@ def has_gease():
|
|||
"""
|
||||
try:
|
||||
import gease # noqa
|
||||
|
||||
return True
|
||||
except ImportError:
|
||||
return False
|
||||
|
@ -213,5 +213,5 @@ if __name__ == "__main__":
|
|||
include_package_data=True,
|
||||
zip_safe=False,
|
||||
classifiers=CLASSIFIERS,
|
||||
cmdclass=SETUP_COMMANDS
|
||||
cmdclass=SETUP_COMMANDS,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue