Current implementation ignores math properties when numpy isn't available as a dependency. It would be nice to add basic aliases for these property types (eg. Vector2 is List of floats with min_length = max_length = 2).
The biggest difficulty here is that these aliased property types will not have all the numpy/vectormath methods. That means code that requires these methods will fail. I think maybe this isn't too big a problem - packages can require properties[math] if they need the methods. Possibly a warning on import if numpy isn't available?
Current implementation ignores
math
properties whennumpy
isn't available as a dependency. It would be nice to add basic aliases for these property types (eg.Vector2
isList
of floats with min_length = max_length = 2).The biggest difficulty here is that these aliased property types will not have all the numpy/vectormath methods. That means code that requires these methods will fail. I think maybe this isn't too big a problem - packages can require
properties[math]
if they need the methods. Possibly a warning on import if numpy isn't available?