From da5507dd429f7bd0d0e48d5460d960d4baeb6e99 Mon Sep 17 00:00:00 2001 From: Derkown Date: Sat, 30 Mar 2024 02:35:59 +0300 Subject: [PATCH] trying to fix bad pypi package --- README.md | 2 +- {mailtm => mailtmapi}/__init__.py | 0 {mailtm => mailtmapi}/mailtm.py | 0 {mailtm => mailtmapi}/schemas/__init__.py | 0 {mailtm => mailtmapi}/schemas/account.py | 0 {mailtm => mailtmapi}/schemas/domains.py | 0 {mailtm => mailtmapi}/schemas/message.py | 0 {mailtm => mailtmapi}/utils/__init__.py | 0 {mailtm => mailtmapi}/utils/exceptions.py | 0 {mailtm => mailtmapi}/utils/misc.py | 0 setup.py | 2 +- 11 files changed, 2 insertions(+), 2 deletions(-) rename {mailtm => mailtmapi}/__init__.py (100%) rename {mailtm => mailtmapi}/mailtm.py (100%) rename {mailtm => mailtmapi}/schemas/__init__.py (100%) rename {mailtm => mailtmapi}/schemas/account.py (100%) rename {mailtm => mailtmapi}/schemas/domains.py (100%) rename {mailtm => mailtmapi}/schemas/message.py (100%) rename {mailtm => mailtmapi}/utils/__init__.py (100%) rename {mailtm => mailtmapi}/utils/exceptions.py (100%) rename {mailtm => mailtmapi}/utils/misc.py (100%) diff --git a/README.md b/README.md index 0b33bcc..5b8692c 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ pip install MailTMAPI ```python import asyncio -from mailtm import MailTM +from mailtmapi import MailTM async def main() -> None: diff --git a/mailtm/__init__.py b/mailtmapi/__init__.py similarity index 100% rename from mailtm/__init__.py rename to mailtmapi/__init__.py diff --git a/mailtm/mailtm.py b/mailtmapi/mailtm.py similarity index 100% rename from mailtm/mailtm.py rename to mailtmapi/mailtm.py diff --git a/mailtm/schemas/__init__.py b/mailtmapi/schemas/__init__.py similarity index 100% rename from mailtm/schemas/__init__.py rename to mailtmapi/schemas/__init__.py diff --git a/mailtm/schemas/account.py b/mailtmapi/schemas/account.py similarity index 100% rename from mailtm/schemas/account.py rename to mailtmapi/schemas/account.py diff --git a/mailtm/schemas/domains.py b/mailtmapi/schemas/domains.py similarity index 100% rename from mailtm/schemas/domains.py rename to mailtmapi/schemas/domains.py diff --git a/mailtm/schemas/message.py b/mailtmapi/schemas/message.py similarity index 100% rename from mailtm/schemas/message.py rename to mailtmapi/schemas/message.py diff --git a/mailtm/utils/__init__.py b/mailtmapi/utils/__init__.py similarity index 100% rename from mailtm/utils/__init__.py rename to mailtmapi/utils/__init__.py diff --git a/mailtm/utils/exceptions.py b/mailtmapi/utils/exceptions.py similarity index 100% rename from mailtm/utils/exceptions.py rename to mailtmapi/utils/exceptions.py diff --git a/mailtm/utils/misc.py b/mailtmapi/utils/misc.py similarity index 100% rename from mailtm/utils/misc.py rename to mailtmapi/utils/misc.py diff --git a/setup.py b/setup.py index f5c39f2..aaaf5ff 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup(name='mailtmapi', version='1.1', description='Python API wrapper for mail.tm', - packages=['mailtm'], + packages=['mailtmapi'], author_email='coder@derkown.ru', zip_safe=False, url='https://github.com/prtolem/MailTM',