Merge pull request #756 from trepetti/build-systems-various

build-systems: nbconvert and pydeprecate
This commit is contained in:
adisbladis 2022-10-09 15:04:05 +13:00 committed by GitHub
commit f602909127
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View file

@ -11133,6 +11133,9 @@
"pydeps": [ "pydeps": [
"setuptools" "setuptools"
], ],
"pydeprecate": [
"setuptools"
],
"pydes": [ "pydes": [
"setuptools" "setuptools"
], ],

View file

@ -2583,6 +2583,12 @@ lib.composeManyExtensions [
'root_dirs.extend(jupyter_path())' \ 'root_dirs.extend(jupyter_path())' \
'root_dirs.extend(jupyter_path() + [os.path.join("@out@", "share", "jupyter")])' \ 'root_dirs.extend(jupyter_path() + [os.path.join("@out@", "share", "jupyter")])' \
--subst-var out --subst-var out
'' + lib.optionalString (lib.versionAtLeast self.nbconvert.version "7.0") ''
substituteInPlace \
./hatch_build.py \
--replace \
'if self.target_name not in ["wheel", "sdist"]:' \
'if True:'
''; '';
}); });
} }