Skip to content

Commit

Permalink
fix: add pyopengl-accelarate back as a dependency due to upstream fix…
Browse files Browse the repository at this point in the history
… for v3.1.6 (#416)
  • Loading branch information
tushar5526 authored Jan 26, 2023
1 parent 12118f4 commit 1a672fb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions p5/sketch/userspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,6 @@ def run(
elif mode == "P3D":
p5.mode = "P3D"
from p5.sketch.Vispy3DRenderer.renderer3d import Renderer3D

print(
"For better 3D performance, install pyopengl-accelarate from requirements.txt"
)
p5.renderer = Renderer3D()
else:
ValueError("Invalid Mode %s" % mode)
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ glfw==1.11.2
numpy
Pillow==9.0.1
vispy==0.10.0
# See https://github.com/p5py/p5/issues/397 for more info on this
# PyOpenGL-accelerate@git+https://github.com/mcfletch/pyopengl.git@227f9c66976d9f5dadf62b9a97e6beaec84831ca#subdirectory=accelerate
PyOpenGL-accelerate==3.1.6
PyOpenGL==3.1.6
requests>=2.25.0
dataclasses;python_version=="3.6"
Expand Down

0 comments on commit 1a672fb

Please sign in to comment.