From e2a59164bbae80b4d8ddbcd56f6f774309fe7cb1 Mon Sep 17 00:00:00 2001 From: Merlijn van Deen Date: Fri, 27 Jun 2014 20:52:54 +0200 Subject: [PATCH] #68: make sure all parameters to setup() are str --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6dbe783..25a7a96 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,9 @@ setup( ext_modules = [tokenizer], tests_require = ["unittest2"] if py26 else [], test_suite = "tests.discover", - version = __version__, + # python 2 bdist_msi *requires* a str 'ProductName'; prevent upcasting + # to 'unicode' by explicitly making __version__ str. + version = str(__version__), author = "Ben Kurtovic", author_email = "ben.kurtovic@gmail.com", url = "https://github.com/earwig/mwparserfromhell",