diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..6713c90 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Denis + +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. \ No newline at end of file diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..499720b --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include LICENSE.md +include README.md \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..b0e4e03 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,31 @@ +[project] +name = "maxapi" +version = "0.6" +description = "Библиотека для разработки чат-ботов с помощью API мессенджера MAX" +readme = "README.md" +requires-python = ">=3.10" +authors = [ + {name = "Denis", email = "your-email@example.com"}, +] +keywords = ["max", "api", "bot"] +classifiers = [ + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +dependencies = [ + "aiohttp>=3.8.0", + "fastapi>=0.68.0", + "magic_filter>=1.0.0", + "pydantic>=1.8.0", + "uvicorn>=0.15.0", +] + +[project.urls] +Homepage = "https://github.com/love-apples/maxapi" + +[tool.setuptools] +license-files = [] + +[build-system] +requires = ["setuptools>=68.0.0", "wheel"] +build-backend = "setuptools.build_meta" \ No newline at end of file diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index ff6dc37..0000000 --- a/setup.cfg +++ /dev/null @@ -1,26 +0,0 @@ -[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