Use python-Levenshtein-wheels (#2393)

This removes the compiler detection logic in setup.py. python-Levenshtein-wheels includes pre-built wheels for virtually all operating systems and architectures we support.

Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
This commit is contained in:
Toby Harradine
2019-01-30 16:52:36 +11:00
committed by GitHub
parent 016a6d3aa6
commit 0607f5552a
4 changed files with 103 additions and 59 deletions

View File

@@ -176,12 +176,6 @@ def init_events(bot, cli_flags):
print("\nInvite URL: {}\n".format(invite_url))
bot.color = discord.Colour(await bot.db.color())
try:
import Levenshtein
except ImportError:
log.info(
"python-Levenshtein is not installed, fuzzy string matching will be a bit slower."
)
@bot.event
async def on_error(event_method, *args, **kwargs):