-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
131 lines (127 loc) · 3.95 KB
/
setup.py
File metadata and controls
131 lines (127 loc) · 3.95 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
"""
Setup configuration for Story Development Toolkit.
Author: Milad Rezanezhad
GitHub: https://github.com/miladrezanezhad
"""
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="story-toolkit",
version="2.2.3",
author="Milad Rezanezhad",
author_email="milad.rezanezhad@example.com",
description="A comprehensive toolkit for generating engaging and coherent stories with optional LLM support",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/miladrezanezhad/story-toolkit",
packages=find_packages(),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Linguistic",
"Topic :: Artistic Software",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
],
python_requires=">=3.11",
install_requires=[
"nltk>=3.8.1",
"spacy>=3.7.0",
"textblob>=0.17.1",
"pydantic>=2.5.0",
"pyyaml>=6.0",
],
extras_require={
# LLM backends
"openai": [
"openai>=1.0.0",
],
"anthropic": [
"anthropic>=0.18.0",
],
"local": [
"ollama>=0.1.0",
],
"llama-cpp": [
"llama-cpp-python>=0.2.0",
],
# Exporters
"export": [
"ebooklib>=0.18",
"reportlab>=4.0",
],
# Complete LLM support
"llm": [
"openai>=1.0.0",
"anthropic>=0.18.0",
"ollama>=0.1.0",
],
# Development dependencies
"dev": [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-asyncio>=0.21.0",
"pytest-mock>=3.11.0",
"black>=23.0.0",
"isort>=5.12.0",
"flake8>=6.0.0",
"mypy>=1.0.0",
"types-pyyaml>=6.0.0",
"types-requests>=2.31.0",
],
# Documentation
"docs": [
"sphinx>=7.0.0",
"sphinx-rtd-theme>=1.3.0",
"myst-parser>=2.0.0",
],
# Testing
"test": [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-mock>=3.11.0",
],
# Complete installation (all optional dependencies)
"all": [
"openai>=1.0.0",
"anthropic>=0.18.0",
"ollama>=0.1.0",
"ebooklib>=0.18",
"reportlab>=4.0",
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"black>=23.0.0",
"isort>=5.12.0",
"flake8>=6.0.0",
"mypy>=1.0.0",
],
},
entry_points={
"console_scripts": [
"story-toolkit=story_toolkit.cli.main:main",
],
},
project_urls={
"Bug Reports": "https://github.com/miladrezanezhad/story-toolkit/issues",
"Source": "https://github.com/miladrezanezhad/story-toolkit",
"Documentation": "https://miladrezanezhad.github.io/story-toolkit/",
"Changelog": "https://github.com/miladrezanezhad/story-toolkit/releases",
},
keywords=[
"story", "writing", "narrative", "dialogue", "character",
"plot", "world-building", "nlp", "creative-writing",
"fiction", "story-generator", "llm", "openai", "claude",
"story-telling", "python", "toolkit", "cli", "templates",
"epub", "pdf", "html", "memory", "sqlite"
],
include_package_data=True,
zip_safe=False,
)