New package structure
Important: PyGLM is now packaged as
- pyglm (root package)
- .glm (library)
- .typing (typing stubs)
- glm (for backwards compatibility)
Please test this new package structure with your projects and give me feedback in this discussion.
To ensure compatibility with the new version, please update your existing imports from
import glm
# or
from glm import vec3
to
from pyglm import glm
# or
from pyglm.glm import vec3
You can now also import the typing stubs by @esoma:
from pyglm import typing
To update your imports for compatibility with old and future versions:
try:
from pyglm import glm
# typing stubs (optional):
from pyglm import typing
except ImportError:
import glm
# typing stubs (optional):
import importlib
typing = importlib.import_module("glm-stubs.glm_typing")
What's Changed
- Make array generic. by @esoma in #172
- Updated glm submodule to latest master by @Zuzu-Typ in #250
- Fix compiler warnings by @Zuzu-Typ in #251
- Add quat_to_vec4 (and vice-versa) documentation by @Zuzu-Typ in #252
- Updated PyGLM packaging structure by @Zuzu-Typ in #203
- Added visual studio project by @Zuzu-Typ in #254
- Adjusted project structure by @Zuzu-Typ in #255
- Updated Readme and manifest by @Zuzu-Typ in #256
- Fixed readme by @Zuzu-Typ in #257
- Test on push only by @Zuzu-Typ in #258
- Slightly improved readme by @Zuzu-Typ in #259
- Bump Version (2.8.0rc1) by @Zuzu-Typ in #262
- Rename module pyglm by @Zuzu-Typ in #264
- Bump version (2.8.0rc2) by @Zuzu-Typ in #265
New Contributors
Full Changelog: 2.7.3...2.8.0