Comments (4)
Hello Paul,
thank you for the suggestion. This is indeed something that should be used for the library search!
LD_LIBRARY_PATH
is used on Linux and DYLD_LIBRARY_PATH
is used on macOS. So I'd suggest having this dependent on sys.platform, with Linux behavior as default/fallback.
Also, an environment variable PYGLFW_LIBRARY
should allow the user to set what library should be used. That way, if you want to use a specific binary, you can be sure that another library with the same version won't be used instead.
What do you think?
Edit: Windows doesn't matter, as ctypes does the searching for us there. Added PYGLFW_LIBRARY
.
from pyglfw.
Please take a look at 8824afb and let me know what you think.
from pyglfw.
Hi Florian, Looks great!
from pyglfw.
Version 1.4.0 is on PyPI now. Thanks again!
from pyglfw.
Related Issues (20)
- Vulkan surface creation error HOT 8
- missing new hint "GLFW_MOUSE_PASSTHROUGH" in current version HOT 8
- Default Error handling differs from GLFW HOT 6
- Missing Linux AArch64 wheel on PyPI
- Fails to find GLFW on Mac M1 HOT 6
- M1 MacBook Conda install issue HOT 3
- Changing OpenGL version doesn't work HOT 1
- Attempt to retrieve context when no valid context HOT 20
- What exactly is PYGLFW_PREVIEW HOT 3
- Full screen print screen on Windows 10 only captures first frame HOT 1
- set_monitor_user_pointer doesn't work HOT 1
- The `window` argument for `glfw[GS]etClipboardString` has been deprecated in libglfw 3.3 HOT 6
- MOUSE_PASSTHROUGH attr issue HOT 2
- Switching between X11 and Wayland HOT 9
- Requested OpenGL version 1.0, got version 0.0 HOT 4
- OpenGL version check crashes for frozen executables like PyInstaller/cxFreeze HOT 19
- [OS X] ImportError: Failed to load GLFW3 shared library. HOT 5
- `get_monitor_workarea()` returns zero width and height on Apple SIlicon HOT 1
- Is the latest release broken? HOT 2
- Unable to set glfw.WAYLAND_APP_ID HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyglfw.