Skip to content

Commit

Permalink
Merge pull request #37 from ifurther/master
Browse files Browse the repository at this point in the history
remove distutils function and change packaging.version
  • Loading branch information
astrofrog committed Aug 17, 2023
2 parents a890fa4 + 2a8c2bf commit b33c541
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 26 deletions.
12 changes: 1 addition & 11 deletions mpl_scatter_density/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
import os

from distutils.version import LooseVersion

import matplotlib

MPL_VERSION = LooseVersion(matplotlib.__version__)

baseline_root = 'baseline'

if MPL_VERSION >= LooseVersion('3'): # pragma: nocover
baseline_subdir = '3.0.x'
else: # pragma: nocover
raise ValueError('Matplotlib {0} is not supported'.format(matplotlib.__version__))
baseline_subdir = '3.0.x'

baseline_dir = os.path.join(baseline_root, baseline_subdir)
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ requires = ["setuptools",
"setuptools_scm",
"wheel"]
build-backend = 'setuptools.build_meta'

[tool.setuptools_scm]

15 changes: 0 additions & 15 deletions setup.py

This file was deleted.

0 comments on commit b33c541

Please sign in to comment.