Skip to content

Commit

Permalink
remove editable wheel customization
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez authored Oct 20, 2023
1 parent bfac057 commit 9694046
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions pkgs/sage-conf_meson/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

from setuptools import setup
from setuptools.command.build_py import build_py as setuptools_build_py
from setuptools.command.editable_wheel import \
editable_wheel as setuptools_editable_wheel
from setuptools.errors import SetupError


Expand Down Expand Up @@ -47,16 +45,8 @@ def run(self):
distutils_build_scripts.run(self)


class editable_wheel(setuptools_editable_wheel):
r"""
Customized so that exceptions raised by our build_py
do not lead to the "Customization incompatible with editable install" message
"""
_safely_run = setuptools_editable_wheel.run_command


setup(
cmdclass=dict(
build_py=build_py, build_scripts=build_scripts, editable_wheel=editable_wheel
build_py=build_py, build_scripts=build_scripts
)
)

0 comments on commit 9694046

Please sign in to comment.