Skip to content

Commit

Permalink
setup: don't use distutils for build_js subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-- committed Feb 24, 2023
1 parent 1fdf683 commit aa07785
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit aa07785

Please sign in to comment.