diff --git a/setup.py b/setup.py index 6f56ab5c1..b7cb0f3f2 100644 --- a/setup.py +++ b/setup.py @@ -219,10 +219,7 @@ class MyDistribution (Distribution, object): for name in metanames: method = "get_" + name val = getattr(self.metadata, method)() - if isinstance(val, str): - val = unicode(val) - cmd = "%s = %r" % (name, val) - data.append(cmd) + data.append("%s = %r" % (name, val)) data.append('release_date = "%s"' % get_release_date()) # write the config file util.execute(write_file, (filename, data),