33
33
34
34
LICENSE = "New BSD"
35
35
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"
38
38
)
39
39
URL = "https://github.com/pyexcel/pyexcel-io"
40
40
DOWNLOAD_URL = "%s/archive/0.5.19.tar.gz" % URL
60
60
"Programming Language :: Python :: 3.4" ,
61
61
"Programming Language :: Python :: 3.5" ,
62
62
"Programming Language :: Python :: 3.6" ,
63
-
64
63
"Programming Language :: Python :: 3.7" ,
65
-
66
64
"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" ,
70
67
]
71
68
72
- INSTALL_REQUIRES = [
73
- "lml>=0.0.4" ,
74
- ]
69
+ INSTALL_REQUIRES = ["lml>=0.0.4" ]
75
70
SETUP_COMMANDS = {}
76
71
77
72
if PY26 :
78
- INSTALL_REQUIRES .append (' ordereddict' )
73
+ INSTALL_REQUIRES .append (" ordereddict" )
79
74
80
75
PACKAGES = find_packages (exclude = ["ez_setup" , "examples" , "tests" ])
81
76
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" ],
85
80
}
86
81
# 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.19 " +
89
- "Find 0.5.19 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.19 " + "Find 0.5.19 in changelog for more details"
87
+ )
88
+ NO_GS_MESSAGE = (
89
+ "Automatic github release is disabled. "
90
+ + "Please install gease to enable it."
91
+ )
92
92
UPLOAD_FAILED_MSG = (
93
- 'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND )
93
+ 'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND
94
+ )
94
95
HERE = os .path .abspath (os .path .dirname (__file__ ))
95
96
96
97
@@ -133,9 +134,7 @@ def run(self):
133
134
sys .exit ()
134
135
135
136
136
- SETUP_COMMANDS .update ({
137
- "publish" : PublishCommand
138
- })
137
+ SETUP_COMMANDS .update ({"publish" : PublishCommand })
139
138
140
139
141
140
def has_gease ():
@@ -146,6 +145,7 @@ def has_gease():
146
145
"""
147
146
try :
148
147
import gease # noqa
148
+
149
149
return True
150
150
except ImportError :
151
151
return False
@@ -213,5 +213,5 @@ def filter_out_test_code(file_handle):
213
213
include_package_data = True ,
214
214
zip_safe = False ,
215
215
classifiers = CLASSIFIERS ,
216
- cmdclass = SETUP_COMMANDS
216
+ cmdclass = SETUP_COMMANDS ,
217
217
)
0 commit comments