|
31 | 31 | locale.setlocale(locale.LC_ALL, "en_US.UTF-8")
|
32 | 32 |
|
33 | 33 | NAME = "pyexcel-ods3"
|
34 |
| -AUTHOR = "chfw" |
| 34 | +AUTHOR = "C.W." |
35 | 35 | VERSION = "0.6.0"
|
36 | 36 |
|
37 | 37 | LICENSE = "New BSD"
|
|
50 | 50 | "Topic :: Software Development :: Libraries",
|
51 | 51 | "Programming Language :: Python",
|
52 | 52 | "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 | + |
58 | 58 | "Programming Language :: Python :: 3.6",
|
59 | 59 | "Programming Language :: Python :: 3.7",
|
60 | 60 | "Programming Language :: Python :: 3.8",
|
61 | 61 |
|
62 | 62 | ]
|
63 | 63 |
|
| 64 | +PYTHON_REQUIRES = ">=3.6" |
64 | 65 |
|
65 | 66 | INSTALL_REQUIRES = [
|
66 | 67 | "pyexcel-io>=0.6.2",
|
|
74 | 75 | }
|
75 | 76 | # You do not need to read beyond this line
|
76 | 77 | 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 " + |
78 | 81 | "Find 0.6.0 in changelog for more details")
|
79 | 82 | NO_GS_MESSAGE = ("Automatic github release is disabled. " +
|
80 | 83 | "Please install gease to enable it.")
|
81 | 84 | UPLOAD_FAILED_MSG = (
|
82 | 85 | 'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND)
|
83 |
| -HERE = os.path.abspath(os.path.dirname(__file__)) |
84 | 86 |
|
85 | 87 |
|
86 | 88 | class PublishCommand(Command):
|
@@ -126,7 +128,6 @@ def run(self):
|
126 | 128 | "publish": PublishCommand
|
127 | 129 | })
|
128 | 130 |
|
129 |
| - |
130 | 131 | def has_gease():
|
131 | 132 | """
|
132 | 133 | test if github release command is installed
|
@@ -195,6 +196,7 @@ def filter_out_test_code(file_handle):
|
195 | 196 | long_description=read_files(*FILES),
|
196 | 197 | license=LICENSE,
|
197 | 198 | keywords=KEYWORDS,
|
| 199 | + python_requires=PYTHON_REQUIRES, |
198 | 200 | extras_require=EXTRAS_REQUIRE,
|
199 | 201 | tests_require=["nose"],
|
200 | 202 | install_requires=INSTALL_REQUIRES,
|
|
0 commit comments