pythonPackages.pyside6: add egg_info
This commit is contained in:
@@ -36,6 +36,9 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = with python.pkgs.qt6; [
|
||||
# required
|
||||
qtbase
|
||||
python.pkgs.ninja
|
||||
python.pkgs.packaging
|
||||
python.pkgs.setuptools
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
# optional
|
||||
qt3d
|
||||
@@ -68,6 +71,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
postInstall = ''
|
||||
cd ../../..
|
||||
${python.pythonForBuild.interpreter} setup.py egg_info --build-type=pyside6
|
||||
cp -r PySide6.egg-info $out/${python.sitePackages}/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python bindings for Qt";
|
||||
license = with licenses; [ lgpl3Only gpl2Only gpl3Only ];
|
||||
|
||||
Reference in New Issue
Block a user