Skip to content

Commit

Permalink
PyOpenGL-accelerate 3.1.7 requires numpy to load
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jun 15, 2023
1 parent 2522da7 commit e0040a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions packaging/MacOS/make-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,6 @@ if [ "$STRIP_OPENGL" == "1" ]; then
done
popd
fi
echo " * remove numpy"
rm -fr $LIBDIR/python/numpy
pushd $LIBDIR/python
echo " * zipping OpenGL"
zip --move -q -r site-packages.zip OpenGL
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -1831,7 +1831,8 @@ def addconf(name, dst_name=None):
remove_packages("xpra.platform.win32", "xpra.platform.xposix")
#to support GStreamer 1.x we need this:
modules += ["importlib", "mimetypes"]
external_excludes.append("numpy")
#for PyOpenGL:
add_packages("numpy.core._methods", "numpy.lib.format")
else:
add_packages("xpra.platform.xposix")
remove_packages("xpra.platform.win32", "xpra.platform.darwin")
Expand Down

0 comments on commit e0040a4

Please sign in to comment.