From 1943defbdc5e5b91b7cb523fc67174fd30e4f7a9 Mon Sep 17 00:00:00 2001 From: nocturn9x Date: Sun, 31 May 2020 13:40:40 +0000 Subject: [PATCH] Fixed a packaging issue --- __init__.py | 5 ----- core/__init__.py | 1 - ttlcollections/__init__.py | 5 +++++ {core => ttlcollections}/errors.py | 0 {core => ttlcollections}/structures.py | 0 5 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 __init__.py delete mode 100644 core/__init__.py create mode 100644 ttlcollections/__init__.py rename {core => ttlcollections}/errors.py (100%) rename {core => ttlcollections}/structures.py (100%) diff --git a/__init__.py b/__init__.py deleted file mode 100644 index 758f0bc..0000000 --- a/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -from .core.structures import TTLQueue, TTLStack -from .core.errors import QueueEmpty, StackEmpty, QueueFull, StackFull - -__all__ = ["TTLQueue", "TTLStack", "QueueEmpty", "QueueFull", "StackEmpty", "StackFull"] -__version__ = (1, 0, 0) diff --git a/core/__init__.py b/core/__init__.py deleted file mode 100644 index 8dcd085..0000000 --- a/core/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__version__ = (1, 0, 0) diff --git a/ttlcollections/__init__.py b/ttlcollections/__init__.py new file mode 100644 index 0000000..000dcc0 --- /dev/null +++ b/ttlcollections/__init__.py @@ -0,0 +1,5 @@ +from .structures import TTLQueue, TTLStack +from .errors import QueueEmpty, StackEmpty, QueueFull, StackFull + +__all__ = ["TTLQueue", "TTLStack", "QueueEmpty", "QueueFull", "StackEmpty", "StackFull"] +__version__ = (1, 0, 0) diff --git a/core/errors.py b/ttlcollections/errors.py similarity index 100% rename from core/errors.py rename to ttlcollections/errors.py diff --git a/core/structures.py b/ttlcollections/structures.py similarity index 100% rename from core/structures.py rename to ttlcollections/structures.py