3333EMAIL = "info@pyexcel.org"
3434LICENSE = "New BSD"
3535DESCRIPTION = (
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)
3939URL = "https://github.com/pyexcel/pyexcel-io"
4040DOWNLOAD_URL = "%s/archive/0.5.20.tar.gz" % URL
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" ]
7570SETUP_COMMANDS = {}
7671
7772if PY26 :
78- INSTALL_REQUIRES .append (' ordereddict' )
73+ INSTALL_REQUIRES .append (" ordereddict" )
7974
8075PACKAGES = find_packages (exclude = ["ez_setup" , "examples" , "tests" ])
8176EXTRAS_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+ )
9292UPLOAD_FAILED_MSG = (
93- 'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND )
93+ 'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND
94+ )
9495HERE = 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
141140def 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