diff --git a/pyproject.toml b/pyproject.toml index 64cc9ca..7425054 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,8 +1,8 @@ [build-system] requires = [ - "setuptools >= 42", + "setuptools >= 62.4", "wheel", - "setuptools_scm[toml]>=3.4", + "setuptools_scm[toml]>=6.2", ] build-backend = "setuptools.build_meta" diff --git a/setup.py b/setup.py index 21bb29f..83f36d3 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,10 @@ -import distutils.command.build import json import os import pathlib import shutil import warnings +import setuptools.command.build from setuptools import Command from setuptools import setup from setuptools.command.develop import develop @@ -47,7 +47,7 @@ def run(self): # noinspection PyUnresolvedReferences -distutils.command.build.build.sub_commands.append(("build_js", None)) +setuptools.command.build.build.sub_commands.append(("build_js", None)) class DevelopWithJS(develop):