File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11# Project build file
22
33[build-system ]
4- requires = [' setuptools' ]
4+ requires = [' setuptools' , ' setuptools-scm>=8 ' ]
55build-backend = ' setuptools.build_meta'
66[tool .setuptools .packages .find ]
77where = [" src" ]
88[tool .setuptools .package-data ]
99tol_colors = [" colors.json" ]
10+ [tool .setuptools_scm ]
1011
1112[project ]
12- version = ' 2.0.0.post1 '
13+ dynamic = [ ' version ' ]
1314
1415name = ' tol_colors'
1516authors = [
Original file line number Diff line number Diff line change 1010# ruff: noqa: N815, N816
1111
1212import functools
13+ import importlib .metadata
1314import json
1415import logging
1516import os
2223import matplotlib
2324from matplotlib .colors import LinearSegmentedColormap , ListedColormap
2425
25- __version__ = "2.0.0"
26+ __version__ = importlib . metadata . version ( "tol_colors" )
2627
2728log = logging .getLogger (__name__ )
2829
You can’t perform that action at this time.
0 commit comments