Fixed pytest broken dependencies

This commit is contained in:
Davis King 2019-06-02 08:00:50 -04:00
parent 6de82e2417
commit 5e63d01544
1 changed files with 1 additions and 2 deletions

View File

@ -232,8 +232,7 @@ setup(
ext_modules=[CMakeExtension('dlib','tools/python')], ext_modules=[CMakeExtension('dlib','tools/python')],
cmdclass=dict(build_ext=CMakeBuild, test=PyTest), cmdclass=dict(build_ext=CMakeBuild, test=PyTest),
zip_safe=False, zip_safe=False,
# We need an older more-itertools version because v6 broke pytest (for everyone, not just dlib) tests_require=['pytest==3.8'],
tests_require=['pytest==3.8', 'more-itertools<6.0.0'],
#install_requires=['cmake'], # removed because the pip cmake package is busted, maybe someday it will be usable. #install_requires=['cmake'], # removed because the pip cmake package is busted, maybe someday it will be usable.
packages=['dlib'], packages=['dlib'],
keywords=['dlib', 'Computer Vision', 'Machine Learning'], keywords=['dlib', 'Computer Vision', 'Machine Learning'],