25 lines
710 B
Diff
25 lines
710 B
Diff
diff --git a/pyproject.toml b/pyproject.toml
|
|
index 0d732541..12e003e2 100644
|
|
--- a/pyproject.toml
|
|
+++ b/pyproject.toml
|
|
@@ -46,6 +46,7 @@ requires = [
|
|
"scikit-build",
|
|
"cmake>=3.18",
|
|
"ninja",
|
|
+ "looseversion",
|
|
]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
diff --git a/scripts/tsplot b/scripts/tsplot
|
|
index c64e7b18..10ddf3f4 100755
|
|
--- a/scripts/tsplot
|
|
+++ b/scripts/tsplot
|
|
@@ -11,7 +11,7 @@ import matplotlib as M
|
|
import matplotlib.pyplot as P
|
|
import numbers
|
|
from functools import reduce
|
|
-from distutils.version import LooseVersion
|
|
+from looseversion import LooseVersion
|
|
from itertools import chain, islice, cycle
|
|
|
|
# Run-time check for matplot lib version for line style functionality.
|