Fixed error in setup.py

This commit is contained in:
Davis King 2015-09-26 22:48:31 -04:00
parent f02f06355b
commit ed64455109
1 changed files with 1 additions and 1 deletions

View File

@ -409,7 +409,7 @@ class build(_build):
# just so that we can `import dlib` and not `from dlib import dlib`
f.write('from .dlib import *\n')
# add version here
f.write('__version__ = {ver}\n'.format(ver=read_version()))
f.write('__version__ = "{ver}"\n'.format(ver=read_version()))
with open(os.path.join(dist_dir_examples, '__init__.py'), 'w'):
pass