mayavi: Drop workaround of vtk's lacking egg-info file
nixpkgs now generates an egg-info file for vtk.
This commit is contained in:
parent
06ca784b25
commit
57556157c9
|
@ -27,10 +27,6 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Discovery of 'vtk' in setuptools is not working properly, due to a missing
|
|
||||||
# .egg-info in the vtk package. It does however import and run just fine.
|
|
||||||
substituteInPlace mayavi/__init__.py --replace "'vtk'" ""
|
|
||||||
|
|
||||||
# building the docs fails with the usual Qt xcb error, so skip:
|
# building the docs fails with the usual Qt xcb error, so skip:
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "build.build.run(self)" "build.build.run(self); return"
|
--replace "build.build.run(self)" "build.build.run(self); return"
|
||||||
|
|
Loading…
Reference in a new issue