Skip to content

Commit 01ba94c

Browse files
committed
🔥 remove moban stage check
1 parent a852495 commit 01ba94c

File tree

3 files changed

+25
-34
lines changed

3 files changed

+25
-34
lines changed

.travis.yml

-10
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ python:
1515
stages:
1616
- test
1717
- lint
18-
- moban
1918

2019
.disable_global: &disable_global
2120
addons: false
@@ -39,15 +38,6 @@ stages:
3938
stage: lint
4039
script: make lint
4140

42-
.moban: &moban
43-
<<: *disable_global
44-
python: 3.6
45-
stage: moban
46-
install: pip install moban>=0.0.4
47-
script:
48-
- moban
49-
- git diff --exit-code
50-
5141
jobs:
5242
include:
5343
- *moban

pyexcel-io.yml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ nick_name: io
55
version: 0.5.20
66
current_version: 0.5.20
77
release: 0.5.20
8+
moban_command: false
89
copyright_year: 2015-2019
910
dependencies:
1011
- ordereddict;python_version<"2.7"

setup.py

+24-24
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
3434
LICENSE = "New BSD"
3535
DESCRIPTION = (
36-
"A python library to read and write structured data in csv, zipped csv" +
37-
"format and to/from databases"
36+
"A python library to read and write structured data in csv, zipped csv"
37+
+ "format and to/from databases"
3838
)
3939
URL = "https://github.com/pyexcel/pyexcel-io"
4040
DOWNLOAD_URL = "%s/archive/0.5.20.tar.gz" % URL
@@ -60,37 +60,38 @@
6060
"Programming Language :: Python :: 3.4",
6161
"Programming Language :: Python :: 3.5",
6262
"Programming Language :: Python :: 3.6",
63-
6463
"Programming Language :: Python :: 3.7",
65-
6664
"Programming Language :: Python :: 3.8",
67-
68-
'License :: OSI Approved :: BSD License',
69-
'Programming Language :: Python :: Implementation :: PyPy'
65+
"License :: OSI Approved :: BSD License",
66+
"Programming Language :: Python :: Implementation :: PyPy",
7067
]
7168

72-
INSTALL_REQUIRES = [
73-
"lml>=0.0.4",
74-
]
69+
INSTALL_REQUIRES = ["lml>=0.0.4"]
7570
SETUP_COMMANDS = {}
7671

7772
if PY26:
78-
INSTALL_REQUIRES.append('ordereddict')
73+
INSTALL_REQUIRES.append("ordereddict")
7974

8075
PACKAGES = find_packages(exclude=["ez_setup", "examples", "tests"])
8176
EXTRAS_REQUIRE = {
82-
"xls": ['pyexcel-xls>=0.5.0'],
83-
"xlsx": ['pyexcel-xlsx>=0.5.0'],
84-
"ods": ['pyexcel-ods3>=0.5.0'],
77+
"xls": ["pyexcel-xls>=0.5.0"],
78+
"xlsx": ["pyexcel-xlsx>=0.5.0"],
79+
"ods": ["pyexcel-ods3>=0.5.0"],
8580
}
8681
# You do not need to read beyond this line
87-
PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(sys.executable)
88-
GS_COMMAND = ("gs pyexcel-io v0.5.20 " +
89-
"Find 0.5.20 in changelog for more details")
90-
NO_GS_MESSAGE = ("Automatic github release is disabled. " +
91-
"Please install gease to enable it.")
82+
PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(
83+
sys.executable
84+
)
85+
GS_COMMAND = (
86+
"gs pyexcel-io v0.5.20 " + "Find 0.5.20 in changelog for more details"
87+
)
88+
NO_GS_MESSAGE = (
89+
"Automatic github release is disabled. "
90+
+ "Please install gease to enable it."
91+
)
9292
UPLOAD_FAILED_MSG = (
93-
'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND)
93+
'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND
94+
)
9495
HERE = os.path.abspath(os.path.dirname(__file__))
9596

9697

@@ -133,9 +134,7 @@ def run(self):
133134
sys.exit()
134135

135136

136-
SETUP_COMMANDS.update({
137-
"publish": PublishCommand
138-
})
137+
SETUP_COMMANDS.update({"publish": PublishCommand})
139138

140139

141140
def has_gease():
@@ -146,6 +145,7 @@ def has_gease():
146145
"""
147146
try:
148147
import gease # noqa
148+
149149
return True
150150
except ImportError:
151151
return False
@@ -213,5 +213,5 @@ def filter_out_test_code(file_handle):
213213
include_package_data=True,
214214
zip_safe=False,
215215
classifiers=CLASSIFIERS,
216-
cmdclass=SETUP_COMMANDS
216+
cmdclass=SETUP_COMMANDS,
217217
)

0 commit comments

Comments
 (0)