Skip to content

Commit d2faf90

Browse files
committed
🔥 update package constrant to python 3.6
1 parent 84d86e3 commit d2faf90

File tree

4 files changed

+15
-11
lines changed

4 files changed

+15
-11
lines changed

docs/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
project = 'pyexcel-ods3'
2525
copyright = '2015-2020 Onni Software Ltd.'
26-
author = 'chfw'
26+
author = 'C.W.'
2727
# The short X.Y version
2828
version = '0.6.0'
2929
# The full version, including alpha/beta/rc tags

lint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
pip install flake8
2-
flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . && python setup.py checkdocs
2+
flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . && python setup.py checkdocs

pyexcel-ods3.yml

+2
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ test_dependencies:
1717
moban_command: false
1818
description: |-
1919
A wrapper library to read, manipulate and write data in ods format
20+
python_requires: ">=3.6"
21+
min_python_version: "3.6"

setup.py

+11-9
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
locale.setlocale(locale.LC_ALL, "en_US.UTF-8")
3232

3333
NAME = "pyexcel-ods3"
34-
AUTHOR = "chfw"
34+
AUTHOR = "C.W."
3535
VERSION = "0.6.0"
3636
3737
LICENSE = "New BSD"
@@ -50,17 +50,18 @@
5050
"Topic :: Software Development :: Libraries",
5151
"Programming Language :: Python",
5252
"Intended Audience :: Developers",
53-
"Programming Language :: Python :: 2.6",
54-
"Programming Language :: Python :: 2.7",
55-
"Programming Language :: Python :: 3.3",
56-
"Programming Language :: Python :: 3.4",
57-
"Programming Language :: Python :: 3.5",
53+
54+
"Programming Language :: Python :: 3 :: Only",
55+
56+
57+
5858
"Programming Language :: Python :: 3.6",
5959
"Programming Language :: Python :: 3.7",
6060
"Programming Language :: Python :: 3.8",
6161

6262
]
6363

64+
PYTHON_REQUIRES = ">=3.6"
6465

6566
INSTALL_REQUIRES = [
6667
"pyexcel-io>=0.6.2",
@@ -74,13 +75,14 @@
7475
}
7576
# You do not need to read beyond this line
7677
PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(sys.executable)
77-
GS_COMMAND = ("gs pyexcel-ods3 v0.6.0 " +
78+
HERE = os.path.abspath(os.path.dirname(__file__))
79+
80+
GS_COMMAND = ("gease pyexcel-ods3 v0.6.0 " +
7881
"Find 0.6.0 in changelog for more details")
7982
NO_GS_MESSAGE = ("Automatic github release is disabled. " +
8083
"Please install gease to enable it.")
8184
UPLOAD_FAILED_MSG = (
8285
'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND)
83-
HERE = os.path.abspath(os.path.dirname(__file__))
8486

8587

8688
class PublishCommand(Command):
@@ -126,7 +128,6 @@ def run(self):
126128
"publish": PublishCommand
127129
})
128130

129-
130131
def has_gease():
131132
"""
132133
test if github release command is installed
@@ -195,6 +196,7 @@ def filter_out_test_code(file_handle):
195196
long_description=read_files(*FILES),
196197
license=LICENSE,
197198
keywords=KEYWORDS,
199+
python_requires=PYTHON_REQUIRES,
198200
extras_require=EXTRAS_REQUIRE,
199201
tests_require=["nose"],
200202
install_requires=INSTALL_REQUIRES,

0 commit comments

Comments
 (0)