e2D 1.4.1__py3-none-any.whl → 1.4.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
e2D/__init__.py CHANGED
@@ -312,8 +312,11 @@ class Vector2D:
312
312
  else:
313
313
  raise TypeError(f"The value {other} is not a num type: [{int|float}] nor an array type: [{list|tuple}]")
314
314
  return other
315
-
316
- from Cmain import * #type: ignore
315
+
316
+ try:
317
+ from e2D.Cmain import * #type: ignore
318
+ except Exception as err:
319
+ raise Warning(f"Unable to load the C-version on Vector2D: \n\t{err}")
317
320
 
318
321
  class V2(Vector2D):
319
322
  def __init__(self:"V2|Vector2D", x: int|float = 0, y: int|float = 0) -> None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: e2D
3
- Version: 1.4.1
3
+ Version: 1.4.2
4
4
  Summary: Python library for 2D games. Streamlines dev with keyboard/mouse input, vector calculations, color manipulation, and collision detection. Simplify game creation and unleash creativity!
5
5
  Home-page: https://github.com/marick-py/e2D
6
6
  Author: Riccardo Mariani
@@ -0,0 +1,10 @@
1
+ e2D/__init__.py,sha256=1MgumqkKm8YmF6GqnGbLMeRw_HVFGkch3yXQEZIcx5s,34107
2
+ e2D/envs.py,sha256=cRQfqFkhnZanIETeRiT_VQNGGtTVTkRSHfWN3yPEOek,4278
3
+ e2D/plots.py,sha256=zuA9lbdQfKStxcd_0HNzryHgrtlf_1Qtu-B-LcZhvNE,31542
4
+ e2D/utils.py,sha256=hGO9WhvDvE6wDDw0vIEjVCis64aTOMgrssx-P0_znhI,5513
5
+ e2D/winrec.py,sha256=WBdRJELP4ia_xPinBbY5AfHrFqRRkehqCPLDq5wH2s4,1218
6
+ e2D-1.4.2.dist-info/LICENSE,sha256=wymkNVDvj3qmjdO_rAhkRPM4t5y3_SqffGsFdgfvznU,1066
7
+ e2D-1.4.2.dist-info/METADATA,sha256=eN-cEm-pgUXS44Gwr4KdUvyidYVf7gh40cuKx8KGlgQ,9608
8
+ e2D-1.4.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
9
+ e2D-1.4.2.dist-info/top_level.txt,sha256=3vKZ-CGzNlTCpzVMmM0Ht76krCofKw7hZ0wBf-dnKdM,4
10
+ e2D-1.4.2.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- e2D/__init__.py,sha256=XHr_xh0STPd3w-RjO0vOmIjTFoSsQTvY1rRCeuOg9iA,33999
2
- e2D/envs.py,sha256=cRQfqFkhnZanIETeRiT_VQNGGtTVTkRSHfWN3yPEOek,4278
3
- e2D/plots.py,sha256=zuA9lbdQfKStxcd_0HNzryHgrtlf_1Qtu-B-LcZhvNE,31542
4
- e2D/utils.py,sha256=hGO9WhvDvE6wDDw0vIEjVCis64aTOMgrssx-P0_znhI,5513
5
- e2D/winrec.py,sha256=WBdRJELP4ia_xPinBbY5AfHrFqRRkehqCPLDq5wH2s4,1218
6
- e2D-1.4.1.dist-info/LICENSE,sha256=wymkNVDvj3qmjdO_rAhkRPM4t5y3_SqffGsFdgfvznU,1066
7
- e2D-1.4.1.dist-info/METADATA,sha256=0C_Iu-VdlM7HFSrRf97jlmoKk73V5uaIp6UpLa32nxA,9608
8
- e2D-1.4.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
9
- e2D-1.4.1.dist-info/top_level.txt,sha256=3vKZ-CGzNlTCpzVMmM0Ht76krCofKw7hZ0wBf-dnKdM,4
10
- e2D-1.4.1.dist-info/RECORD,,
File without changes
File without changes