diff --git a/setup.py b/setup.py index 2a1ffc9e33e990756a24376f010baffeb0689bbc..51a7bbcca2b262edbea6e3d7197ca8ca732855d9 100644 --- a/setup.py +++ b/setup.py @@ -138,7 +138,8 @@ setup( long_description=long_description, ext_modules=ext_modules, install_requires=['pybind11>=2.4'], - setup_requires=['pybind11>=2.4'], + setup_requires=['pybind11>=2.4', 'setuptools_scm'], + use_scm_version=True, cmdclass={'build_ext': BuildExt}, zip_safe=False, )