@@ -43,4 +43,104 @@ ignore = [
43
43
"__init__.py" = [" F401" ]
44
44
45
45
[tool .ruff .lint .isort ]
46
- known-first-party = [" src" ]
46
+ known-first-party = [" src" ]
47
+
48
+ [build-system ]
49
+ requires = [" setuptools>=61.0" , " wheel" ]
50
+ build-backend = " setuptools.build_meta"
51
+
52
+ [project ]
53
+ name = " mcp-oauth-gateway"
54
+ version = " 0.1.0"
55
+ description = " OAuth 2.1 authorization server for Model Context Protocol (MCP) services"
56
+ readme = " README.md"
57
+ license = { text = " MIT" }
58
+ authors = [
59
+ { name = " MCP OAuth Gateway Contributors" },
60
+ ]
61
+ classifiers = [
62
+ " Development Status :: 4 - Beta" ,
63
+ " Environment :: Web Environment" ,
64
+ " Framework :: FastAPI" ,
65
+ " Intended Audience :: Developers" ,
66
+ " License :: OSI Approved :: MIT License" ,
67
+ " Operating System :: OS Independent" ,
68
+ " Programming Language :: Python :: 3" ,
69
+ " Programming Language :: Python :: 3.10" ,
70
+ " Programming Language :: Python :: 3.11" ,
71
+ " Programming Language :: Python :: 3.12" ,
72
+ " Topic :: Internet :: WWW/HTTP :: HTTP Servers" ,
73
+ " Topic :: Security" ,
74
+ " Topic :: Software Development :: Libraries :: Python Modules" ,
75
+ ]
76
+ requires-python = " >=3.10"
77
+ dependencies = [
78
+ " fastapi>=0.104.1" ,
79
+ " uvicorn[standard]>=0.24.0" ,
80
+ " python-multipart>=0.0.6" ,
81
+ " python-jose[cryptography]>=3.3.0" ,
82
+ " cryptography>=45.0.0" ,
83
+ " pyyaml>=6.0.1" ,
84
+ " pydantic>=2.5.0" ,
85
+ " pydantic-settings>=2.1.0" ,
86
+ " python-dotenv>=1.0.0" ,
87
+ " httpx>=0.25.2" ,
88
+ ]
89
+
90
+ [project .optional-dependencies ]
91
+ dev = [
92
+ " pytest>=7.0.0" ,
93
+ " pytest-asyncio>=0.23.0" ,
94
+ " pytest-httpx>=0.21.0" ,
95
+ " pytest-cov>=4.0.0" ,
96
+ " black>=23.0.0" ,
97
+ " ruff>=0.1.0" ,
98
+ " mypy>=1.0.0" ,
99
+ " bandit[toml]>=1.7.0" ,
100
+ " types-PyYAML>=6.0.0" ,
101
+ " types-requests>=2.28.0" ,
102
+ " python-semantic-release>=9.0.0" ,
103
+ ]
104
+ redis = [
105
+ " redis[hiredis]>=4.5.0" ,
106
+ " aioredis>=2.0.0" ,
107
+ ]
108
+ vault = [
109
+ " hvac>=1.2.0" ,
110
+ " aiohttp>=3.8.0" ,
111
+ ]
112
+ all = [
113
+ " mcp-oauth-gateway[dev,redis,vault]" ,
114
+ ]
115
+
116
+ [project .urls ]
117
+ "Homepage" = " https://github.com/akshay5995/mcp-oauth-gateway"
118
+ "Bug Reports" = " https://github.com/akshay5995/mcp-oauth-gateway/issues"
119
+ "Source" = " https://github.com/akshay5995/mcp-oauth-gateway"
120
+ "Documentation" = " https://github.com/akshay5995/mcp-oauth-gateway#readme"
121
+
122
+ [project .scripts ]
123
+ mcp-oauth-gateway = " src.gateway:main"
124
+
125
+ [tool .semantic_release ]
126
+ version_toml = [" pyproject.toml:project.version" ]
127
+ version_variables = [" src/__init__.py:__version__" ]
128
+ build_command = " pip install build && python -m build"
129
+ dist_path = " dist/"
130
+ upload_to_pypi = false
131
+ upload_to_release = true
132
+ remove_dist = false
133
+ changelog_file = " CHANGELOG.md"
134
+ changelog_placeholder = " <!--next-version-placeholder-->"
135
+
136
+ [tool .semantic_release .commit_parser_options ]
137
+ allowed_tags = [" build" , " chore" , " ci" , " docs" , " feat" , " fix" , " perf" , " style" , " refactor" , " test" ]
138
+ minor_tags = [" feat" ]
139
+ patch_tags = [" fix" , " perf" ]
140
+
141
+ [tool .semantic_release .remote .token ]
142
+ env = " GITHUB_TOKEN"
143
+
144
+ [tool .semantic_release .publish ]
145
+ dist_glob_patterns = [" dist/*" ]
146
+ upload_to_vcs_release = true
0 commit comments