diff --git a/setup.py b/setup.py index 60d8d0a46..87c623e5f 100644 --- a/setup.py +++ b/setup.py @@ -4,6 +4,12 @@ from setuptools import find_packages, setup + +def local_version(version): + # https://github.com/pypa/setuptools_scm/issues/342 + return "" + + module_dir = os.path.dirname(os.path.abspath(__file__)) extras_require = { @@ -22,7 +28,11 @@ if __name__ == "__main__": setup( name='matminer', - use_scm_version=True, + use_scm_version={ + "root": ".", + "relative_to": __file__, + "local_scheme": local_version, + }, setup_requires=["setuptools_scm"], description='matminer is a library that contains tools for data ' 'mining in Materials Science',