mirror of https://github.com/davisking/dlib.git
Fixed error in setup.py
This commit is contained in:
parent
f02f06355b
commit
ed64455109
2
setup.py
2
setup.py
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue