-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (27 loc) · 884 Bytes
/
setup.py
File metadata and controls
33 lines (27 loc) · 884 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import setuptools
def main() -> None:
setuptools.setup(
name="enapter-mcp-server",
version=read_version(),
description="Enapter MCP Server",
packages=setuptools.find_packages("src"),
package_dir={"": "src"},
url="https://github.com/Enapter/mcp-server",
author="Roman Novatorov",
author_email="[email protected]",
install_requires=[
"enapter==0.17.2",
"fastmcp==2.14.*",
"sentry-sdk==2.53.*",
"httpx==0.*",
"py-key-value-aio[memory,disk]==0.*",
],
python_requires="==3.14.*",
)
def read_version() -> str:
with open("src/enapter_mcp_server/__init__.py") as f:
local_scope: dict = {}
exec(f.readline(), {}, local_scope)
return local_scope["__version__"]
if __name__ == "__main__":
main()