Skip to content

Commit

Permalink
local version override
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Nov 10, 2022
1 parent a31bf6c commit 887a920
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -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',
Expand Down

0 comments on commit 887a920

Please sign in to comment.