Closed SpotlightKid closed 8 years ago
ATK/Core/__init__.py etc. use
ATK/Core/__init__.py
from Core import *
That's not valid on newer Python versions, since the sub-modules of the ATK package are not directly on the Python module search path. You have to use:
ATK
from .Core import *
i.e. a relative import.
Here's a patch:
diff --git a/Python/Core/__init__.py b/Python/Core/__init__.py index ae072fa..f312fd4 100644 --- a/Python/Core/__init__.py +++ b/Python/Core/__init__.py @@ -1,2 +1,2 @@ -from Core import * +from .Core import * diff --git a/Python/Delay/__init__.py b/Python/Delay/__init__.py index 347b7c6..c062b3b 100644 --- a/Python/Delay/__init__.py +++ b/Python/Delay/__init__.py @@ -1,2 +1,2 @@ -from Delay import * +from .Delay import * diff --git a/Python/Distortion/__init__.py b/Python/Distortion/__init__.py index 7784bf9..01ff699 100644 --- a/Python/Distortion/__init__.py +++ b/Python/Distortion/__init__.py @@ -1,2 +1,2 @@ -from Distortion import * +from .Distortion import * diff --git a/Python/Dynamic/__init__.py b/Python/Dynamic/__init__.py index df5b7f3..3638816 100644 --- a/Python/Dynamic/__init__.py +++ b/Python/Dynamic/__init__.py @@ -1,2 +1,2 @@ -from Dynamic import * +from .Dynamic import * diff --git a/Python/EQ/__init__.py b/Python/EQ/__init__.py index 63df28b..e625b2d 100644 --- a/Python/EQ/__init__.py +++ b/Python/EQ/__init__.py @@ -1,2 +1,2 @@ -from EQ import * +from .EQ import * diff --git a/Python/IO/__init__.py b/Python/IO/__init__.py index f306660..bf8835e 100644 --- a/Python/IO/__init__.py +++ b/Python/IO/__init__.py @@ -1,2 +1,2 @@ -from IO import * +from .IO import * diff --git a/Python/Tools/__init__.py b/Python/Tools/__init__.py index 982f5da..5f46dc0 100644 --- a/Python/Tools/__init__.py +++ b/Python/Tools/__init__.py @@ -1,2 +1,2 @@ -from Tools import * +from .Tools import *
Thanks, indeed, I'm not testing with new Python versions yet. I should probably start. Shoulkd now be in with all the new modules in 1.2.0 as well.
ATK/Core/__init__.py
etc. useThat's not valid on newer Python versions, since the sub-modules of the
ATK
package are not directly on the Python module search path. You have to use:i.e. a relative import.
Here's a patch: