mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 16:51:40 -05:00
Merge pull request #756 from trepetti/build-systems-various
build-systems: nbconvert and pydeprecate
This commit is contained in:
commit
f602909127
2 changed files with 9 additions and 0 deletions
|
@ -11133,6 +11133,9 @@
|
|||
"pydeps": [
|
||||
"setuptools"
|
||||
],
|
||||
"pydeprecate": [
|
||||
"setuptools"
|
||||
],
|
||||
"pydes": [
|
||||
"setuptools"
|
||||
],
|
||||
|
|
|
@ -2583,6 +2583,12 @@ lib.composeManyExtensions [
|
|||
'root_dirs.extend(jupyter_path())' \
|
||||
'root_dirs.extend(jupyter_path() + [os.path.join("@out@", "share", "jupyter")])' \
|
||||
--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:'
|
||||
'';
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue