diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..bf8ba5b --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,18 @@ +[tool.poetry] +name = "microsoftgraph-python" +version = "1.1.6" +description = "API wrapper for Microsoft Graph written in Python" +authors = ["Miguel Ferrer "] +license = "MIT" +readme = "README.md" +packages = [{include = "microsoftgraph"}] + +[tool.poetry.dependencies] +python = "^3.7" +requests = "^2.26.0" + + +[build-system] +requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api" + diff --git a/setup.py b/setup.py deleted file mode 100644 index 1bbaa81..0000000 --- a/setup.py +++ /dev/null @@ -1,24 +0,0 @@ -import os -from setuptools import setup - - -def read(fname): - return open(os.path.join(os.path.dirname(__file__), fname)).read() - - -setup( - name="microsoftgraph-python", - version="1.1.5", - description="API wrapper for Microsoft Graph written in Python", - long_description=read("README.md"), - url="https://github.com/GearPlug/microsoftgraph-python", - long_description_content_type="text/markdown", - author="Miguel Ferrer, Nerio Rincon, Yordy Gelvez", - author_email="ingferrermiguel@gmail.com", - license="MIT", - packages=["microsoftgraph"], - install_requires=[ - "requests", - ], - zip_safe=False, -)