Skip to content

Commit

Permalink
[REF] Move all pyd-related logic to utils subpackage
Browse files Browse the repository at this point in the history
  • Loading branch information
katyukha committed Sep 8, 2023
1 parent 65d183e commit 23884b4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion subpackages/lib/dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ dependency "theprocess" version="*"
dependency "dini" version="~>2.0.0"
dependency "semver" version=">=0.4.0"
dependency "dyaml" version=">=0.9.2"
dependency "pyd" version=">=0.14.4"
dependency "dpq" version=">=0.11.6"

targetPath "build"
Expand Down
6 changes: 0 additions & 6 deletions subpackages/lib/source/odood/lib/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,3 @@ public immutable string _version = "0.0.14";

public import odood.lib.project;


// Initialize pyd as early as possible.
shared static this() {
import pyd.def: py_init;
py_init();
}
7 changes: 7 additions & 0 deletions subpackages/utils/source/odood/utils/addons/addon_manifest.d
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,10 @@ struct OdooAddonManifest {
}

}


// Initialize pyd as early as possible.
shared static this() {
import pyd.def: py_init;
py_init();
}

0 comments on commit 23884b4

Please sign in to comment.