Skip to content

Commit 8a37945

Browse files
committed
Add project file
1 parent bc4325a commit 8a37945

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

pyproject.toml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
[build-system]
2+
requires = ["setuptools>=65.5.0", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "msgraph-sdk"
7+
version = "0.1.0"
8+
authors = [{name = "Microsoft", email = "graphtooling+python@microsoft.com"}]
9+
description = "The Microsoft Graph Python SDK"
10+
dependencies = [
11+
"microsoft-kiota-abstractions >=0.1.0",
12+
"msgraph_core @ https://github.com/microsoftgraph/msgraph-sdk-python-core#kiota/long-term-branch",
13+
14+
]
15+
requires-python = ">=3.6"
16+
license = {file = "LICENSE"}
17+
readme = "README.md"
18+
keywords = ["msgraph", "openAPI", "Microsoft", "Graph"]
19+
classifiers = [
20+
"Development Status :: 3 - Alpha",
21+
"Programming Language :: Python :: 3.6",
22+
"Programming Language :: Python :: 3.7",
23+
"Programming Language :: Python :: 3.8",
24+
"Programming Language :: Python :: 3.9",
25+
"Programming Language :: Python :: 3.10",
26+
"Programming Language :: Python :: 3.11",
27+
"License :: OSI Approved :: MIT License",
28+
]
29+
30+
[project.optional-dependencies]
31+
dev = ["yapf", "bumpver", "isort", "pylint", "pytest", "mypy"]
32+
33+
[project.urls]
34+
homepage = "https://github.com/microsoftgraph/msgraph-sdk-python#readme"
35+
repository = "https://github.com/microsoftgraph/msgraph-sdk-python"
36+
documentation = "https://github.com/microsoftgraph/msgraph-sdk-python/docs"
37+
38+
[tool.mypy]
39+
warn_unused_configs = true
40+
files = "msgraph"
41+
ignore_missing_imports = true
42+
43+
[tool.yapf]
44+
based_on_style = "pep8"
45+
dedent_closing_brackets = true
46+
each_dict_entry_on_separate_line = true
47+
column_limit = 100
48+
49+
[tool.isort]
50+
profile = "hug"
51+
52+
[tool.pytest.ini_options]
53+
pythonpath = [
54+
"msgraph"
55+
]
56+
57+
[tool.bumpver]
58+
current_version = "0.1.0"
59+
version_pattern = "MAJOR.MINOR.PATCH"
60+
commit_message = "bump version {old_version} -> {new_version}"
61+
commit = true
62+
tag = false
63+
push = false
64+
65+
[tool.bumpver.file_patterns]
66+
"pyproject.toml" = ['current_version = "{version}"', 'version = "{version}"']
67+
"msgraph/__init__.py" = ["{version}"]

0 commit comments

Comments
 (0)