-
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (62 loc) · 2.09 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (62 loc) · 2.09 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
61
62
63
64
65
66
67
68
69
[project]
name = "python-substack"
version = "0.9.1"
description = "Write and safely manage Substack drafts from Markdown with Python, CLI, and MCP."
authors = [
{ name = "Paolo Mazza", email = "mazzapaolo2019@gmail.com" }
]
license = "MIT"
readme = "README.md"
requires-python = ">=3.10,<4.0"
keywords = ["substack", "substack-api", "cli", "newsletter", "publishing", "automation", "mcp"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Communications :: Email",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules"
]
dependencies = [
"requests>=2.32.0,<3.0.0",
"python-dotenv>=1.2.1,<2.0.0",
"PyYAML>=6.0,<7.0",
"markdown-it-py>=3,<5",
"mdit-py-plugins>=0.5,<0.7"
]
[project.optional-dependencies]
mcp = [
"fastmcp>=3.1.1,<5.0.0"
]
[project.urls]
"Documentation" = "https://ma2za.github.io/python-substack/"
"Changelog" = "https://github.com/ma2za/python-substack/blob/main/CHANGELOG.md"
"Issues" = "https://github.com/ma2za/python-substack/issues"
"Homepage" = "https://github.com/ma2za/python-substack"
"Repository" = "https://github.com/ma2za/python-substack"
[project.scripts]
substack = "substack.cli:main"
substack-auth-check = "substack.cli:auth_check"
substack-publish-markdown = "substack.cli:publish_markdown"
substack-publish-yaml = "substack.cli:publish_yaml"
substack-mcp = "substack_mcp.mcp_server:main"
[tool.poetry]
packages = [
{ include = "substack" },
{ include = "substack_mcp" }
]
[tool.poetry.group.dev.dependencies]
pytest = "^9.1.1"
pre-commit = "^4.6.1"
twine = "^7.0.0"
[tool.pytest.ini_options]
markers = [
"live: opt-in tests that call the live Substack service",
]
[build-system]
requires = ["poetry-core>=2.0.0"]
build-backend = "poetry.core.masonry.api"