Skip to content

Commit

Permalink
💚 fix setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Jul 14, 2019
1 parent 0fe3a5d commit c21d36f
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
EMAIL = "info@pyexcel.org"
LICENSE = "New BSD"
DESCRIPTION = (
"A python library to read and write structured data in csv, zipped csv" +
"format and to/from databases"
"A python library to read and write structured data in csv, zipped csv"
+ "format and to/from databases"
)
URL = "https://github.com/pyexcel/pyexcel-io"
DOWNLOAD_URL = "%s/archive/0.5.19.tar.gz" % URL
Expand All @@ -60,37 +60,38 @@
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",

"Programming Language :: Python :: 3.7",

"Programming Language :: Python :: 3.8",

'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: Implementation :: PyPy'
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: Implementation :: PyPy",
]

INSTALL_REQUIRES = [
"lml>=0.0.4",
]
INSTALL_REQUIRES = ["lml>=0.0.4"]
SETUP_COMMANDS = {}

if PY26:
INSTALL_REQUIRES.append('ordereddict')
INSTALL_REQUIRES.append("ordereddict")

PACKAGES = find_packages(exclude=["ez_setup", "examples", "tests"])
EXTRAS_REQUIRE = {
"xls": ['pyexcel-xls>=0.5.0'],
"xlsx": ['pyexcel-xlsx>=0.5.0'],
"ods": ['pyexcel-ods3>=0.5.0'],
"xls": ["pyexcel-xls>=0.5.0"],
"xlsx": ["pyexcel-xlsx>=0.5.0"],
"ods": ["pyexcel-ods3>=0.5.0"],
}
# You do not need to read beyond this line
PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(sys.executable)
GS_COMMAND = ("gs pyexcel-io v0.5.19 " +
"Find 0.5.19 in changelog for more details")
NO_GS_MESSAGE = ("Automatic github release is disabled. " +
"Please install gease to enable it.")
PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(
sys.executable
)
GS_COMMAND = (
"gs pyexcel-io v0.5.19 " + "Find 0.5.19 in changelog for more details"
)
NO_GS_MESSAGE = (
"Automatic github release is disabled. "
+ "Please install gease to enable it."
)
UPLOAD_FAILED_MSG = (
'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND)
'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND
)
HERE = os.path.abspath(os.path.dirname(__file__))


Expand Down Expand Up @@ -133,9 +134,7 @@ def run(self):
sys.exit()


SETUP_COMMANDS.update({
"publish": PublishCommand
})
SETUP_COMMANDS.update({"publish": PublishCommand})


def has_gease():
Expand All @@ -146,6 +145,7 @@ def has_gease():
"""
try:
import gease # noqa

return True
except ImportError:
return False
Expand Down Expand Up @@ -213,5 +213,5 @@ def filter_out_test_code(file_handle):
include_package_data=True,
zip_safe=False,
classifiers=CLASSIFIERS,
cmdclass=SETUP_COMMANDS
cmdclass=SETUP_COMMANDS,
)

0 comments on commit c21d36f

Please sign in to comment.