Commit ed644551 authored by Davis King's avatar Davis King

Fixed error in setup.py

parent f02f0635
...@@ -409,7 +409,7 @@ class build(_build): ...@@ -409,7 +409,7 @@ class build(_build):
# just so that we can `import dlib` and not `from dlib import dlib` # just so that we can `import dlib` and not `from dlib import dlib`
f.write('from .dlib import *\n') f.write('from .dlib import *\n')
# add version here # 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'): with open(os.path.join(dist_dir_examples, '__init__.py'), 'w'):
pass pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment