Skip to content

Commit

Permalink
Merge pull request #4947 from neutrinoceros/bld/switch_to_stable_buil…
Browse files Browse the repository at this point in the history
…d_backend

BLD: switch to stable setuptools build backend
  • Loading branch information
chrishavlin authored Jul 22, 2024
2 parents a093170 + 86cdfd8 commit 1432210
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ requires = [
"numpy>=2.0.0",
"ewah-bool-utils>=1.2.0",
]
build-backend = "setuptools.build_meta:__legacy__"
build-backend = "setuptools.build_meta"

[project]
name = "yt"
Expand Down
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
import glob
import os
import sys
from collections import defaultdict
from distutils.ccompiler import get_default_compiler
from importlib import resources as importlib_resources

from setuptools import Distribution, setup

# ensure enclosing directory is in PYTHON_PATH to allow importing from setupext.py
if (script_dir := os.path.dirname(__file__)) not in sys.path:
sys.path.insert(0, script_dir)

from setupext import (
NUMPY_MACROS,
check_CPP14_flags,
Expand Down

0 comments on commit 1432210

Please sign in to comment.