Skip to content

Commit

Permalink
Add change note for #1914.
Browse files Browse the repository at this point in the history
Fixes #1914
  • Loading branch information
jamadden committed Oct 14, 2022
1 parent d48a58d commit 2bfebea
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/changes/1910.misc
@@ -0,0 +1,7 @@
Use a more modern setuptools build backend. There have also been some
other build related changes:

- Enable memory leak checking for Python 3.11.
..
TODO: Uncomment this once done
- Stop using the deprecated 'DEF' construct in Cython files. See https://github.com/cython/cython/issues/4310
9 changes: 9 additions & 0 deletions setup.py
Expand Up @@ -13,6 +13,15 @@
from setuptools import find_packages


# -*- coding: utf-8 -*-
#
# We import other files that are siblings of this file as modules. In
# the past, setuptools guaranteed that this directory was on the path
# (typically, the working directory) but in a PEP517 world, that's no
# longer guaranteed to be the case. setuptools provides a PEP517
# backend (``setuptools.build_meta:__legacy__``) that *does* guarantee
# that, and we used it for a long time. But downstream packagers have begun
# complaining about using it. So we futz with the path ourself.
sys.path.insert(0, os.path.dirname(__file__))

from _setuputils import read
Expand Down

0 comments on commit 2bfebea

Please sign in to comment.