Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
60 lines (57 loc) · 1.75 KB
/
Copy pathsetup.py
File metadata and controls
60 lines (57 loc) · 1.75 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import os
from setuptools import setup, find_packages
# Read version from version.py
with open(os.path.join("dvmcp", "version.py"), "r") as f:
for line in f:
if line.startswith("__version__"):
version = line.split("=")[1].strip().strip('"').strip("'")
break
else:
version = "0.1.0"
# Read long description from README.md
with open("README.md", "r") as f:
long_description = f.read()
setup(
name="dvmcp",
version=version,
description="Python implementation of the Distributed Virtual Machine Context Protocol (DVMCP) for Nostr",
long_description=long_description,
long_description_content_type="text/markdown",
author="DVMCP Team",
author_email="info@example.com",
url="https://github.com/example/dvmcp-py",
packages=find_packages(),
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
python_requires=">=3.8",
install_requires=[
"nostr-sdk>=0.1.0",
"jsonschema>=4.0.0",
],
extras_require={
"dev": [
"pytest>=7.0.0",
"pytest-asyncio>=0.18.0",
"black>=22.0.0",
"isort>=5.0.0",
"mypy>=0.9.0",
],
"resources": [
"psutil>=5.9.0",
],
},
entry_points={
"console_scripts": [
"dvmcp-provider=dvmcp.cli.provider:main",
"dvmcp-client=dvmcp.cli.client:main",
],
},
)