From 1e4d22a2bce88a9538bc0a50d484237f17ae893d Mon Sep 17 00:00:00 2001 From: Denis Date: Fri, 20 Jun 2025 03:33:10 +0300 Subject: [PATCH] - --- LICENSE | 21 --------------------- README.md | 2 +- setup.cfg | 26 ++++++++++++++++++++++++++ setup.py | 23 +---------------------- 4 files changed, 28 insertions(+), 44 deletions(-) delete mode 100644 LICENSE create mode 100644 setup.cfg diff --git a/LICENSE b/LICENSE deleted file mode 100644 index ea001b6..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2025 Твоё Имя - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/README.md b/README.md index a944ee2..8c4af6b 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ from maxapi.types import BotStarted, Command, MessageCreated logging.basicConfig(level=logging.INFO) -bot = Bot('f9LHodD0cOL5NY7All_9xJRh5ZhPw6bRvq_0Adm8-1bZZEHdRy6_ZHDMNVPejUYNZg7Zhty-wKHNv2X2WJBQ') +bot = Bot('тут_ваш_токен') dp = Dispatcher() diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..ff6dc37 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,26 @@ +[metadata] +name = maxapi +version = 0.5 +description = Библиотека для разработки чат-бото с помощью API мессенджера MAX +long_description = file: README.md +long_description_content_type = text/markdown +author = Denis +url = https://github.com/love-apples/maxapi/tree/main +license = MIT +keywords = + max + api + bot +classifiers = + License :: OSI Approved :: MIT License + Programming Language :: Python :: 3.10 + +[options] +packages = find: +install_requires = + aiohttp>=3.8.0 + fastapi>=0.68.0 + magic_filter>=1.0.0 + pydantic>=1.8.0 + uvicorn>=0.15.0 +python_requires = >=3.10 diff --git a/setup.py b/setup.py index 8c4e8dc..175b6d1 100644 --- a/setup.py +++ b/setup.py @@ -1,24 +1,3 @@ from setuptools import setup, find_packages -setup( - name="maxapi", - version="0.4", - packages=find_packages(), - description="Библиотека для взаимодействия с API мессенджера MAX", - long_description=open("README.md", encoding='utf-8').read(), - long_description_content_type="text/markdown", - author="Денис", - url="https://github.com/love-apples/maxapi/tree/main", - install_requires=[ - 'aiohttp==3.11.16', - 'fastapi==0.115.13', - 'magic_filter==1.0.12', - 'pydantic==2.11.7', - 'uvicorn==0.34.3' - ], - license='MIT', - classifiers=[ - 'License :: OSI Approved :: MIT License', - ], - python_requires=">=3.10", -) \ No newline at end of file +setup() \ No newline at end of file