--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ class VersionFinder(ast.NodeVisitor):
def visit_Assign(self, node):
if node.targets[0].id == "__version__":
- self.version = node.value.s
+ self.version = node.value.value
def read(*parts):