Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
142 lines (133 loc) · 5.35 KB
/
Copy pathpyproject.toml
File metadata and controls
142 lines (133 loc) · 5.35 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
132
133
134
135
136
137
138
139
140
141
142
[build-system]
requires = ["setuptools>=77.0.3"]
build-backend = "setuptools.build_meta"
[project]
name = "asppy"
# Single source of truth is ASPPY/__init__.py - see [tool.setuptools.dynamic]
# below. Declaring it in both places let 0.1.1 ship reporting "0.1.0".
dynamic = ["version"]
description = "Classic ASP / VBScript runtime for Python - run legacy .asp pages on Windows, Linux and macOS without IIS or COM."
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.9"
authors = [{ name = "Pieter Cooreman", email = "47208869+PieterCooreman@users.noreply.github.com" }]
maintainers = [{ name = "Pieter Cooreman", email = "47208869+PieterCooreman@users.noreply.github.com" }]
keywords = [
"asp",
"classic-asp",
"vbscript",
"iis",
"legacy",
"migration",
"modernization",
"interpreter",
"runtime",
"web-server",
"adodb",
"wsgi-alternative",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Programming Language :: Basic",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Software Development :: Interpreters",
"Topic :: Software Development :: Libraries :: Application Frameworks",
]
# The runtime core is deliberately dependency-free: it runs on nothing but the
# Python standard library. Every third-party package below is imported lazily,
# only by the feature that needs it, and raises a clear "pip install ..." error
# when missing. Install only the extras your .asp pages actually use.
dependencies = []
[project.optional-dependencies]
# ASPPY.CreatePDF / vb_pdf.py
pdf = ["fpdf2>=2.7"]
# ASPPY image helpers / vb_image.py
image = ["pillow>=9.0"]
# ASPPY.BcryptHash / BcryptVerify - vb_crypto.py
crypto = ["bcrypt>=4.0"]
# ADODB providers backed by ODBC: Access, Excel, SQL Server, PostgreSQL, MySQL.
# SQLite needs nothing - it is in the standard library.
odbc = ["pyodbc>=4.0.39"]
# MSXML: real XPath 1.0, XSLT (transformNode) and CDATA round-tripping, plus a
# CA bundle for ServerXMLHTTP over TLS.
xml = ["lxml>=4.9", "certifi>=2023.5.7"]
# Everything above, for a full-fidelity install.
all = [
"fpdf2>=2.7",
"pillow>=9.0",
"bcrypt>=4.0",
"pyodbc>=4.0.39",
"lxml>=4.9",
"certifi>=2023.5.7",
]
[project.scripts]
# Serve a docroot over HTTP: asppy 0.0.0.0 8080 www
asppy = "ASPPY.__main__:main"
# Render one .asp page to stdout/file: asppy-render www/default.asp
asppy-render = "ASPPY.cli:main"
# Batch-check a whole app for errors: asppy-check www
asppy-check = "ASPPY.check:main"
# Print/open the bundled docs: asppy-guide | clip
asppy-guide = "ASPPY.guide:main"
# Scaffold a new app from the starter: asppy-new myapp
asppy-new = "ASPPY.scaffold:main"
[project.urls]
Homepage = "https://pietercooreman.github.io/ASPPY/"
Documentation = "https://pietercooreman.github.io/ASPPY/"
Source = "https://github.com/PieterCooreman/ASPPY"
Issues = "https://github.com/PieterCooreman/ASPPY/issues"
Changelog = "https://github.com/PieterCooreman/ASPPY/releases"
"Vibe Coder's Guide" = "https://pietercooreman.github.io/ASPPY/ASPPY_The_Vibe_Coders_Guide.html"
"Prompt Builder (MVC)" = "https://pietercooreman.github.io/ASPPY/prompt-builder.html"
"Prompt Builder (SPA)" = "https://pietercooreman.github.io/ASPPY/prompt-builder-SPA.html"
[tool.setuptools.dynamic]
# Read the version straight out of ASPPY/__init__.py. setuptools parses that
# file statically (it deliberately imports nothing), so bumping __version__ is
# the only edit a release needs.
version = { attr = "ASPPY.__version__" }
[tool.setuptools]
packages = ["ASPPY", "ASPPY.vm"]
[tool.setuptools.package-data]
# Everything a person or an AI agent needs to actually build something, offline:
#
# locale_data.json generated 60-locale table used by vb_locale.py
# tools/* standalone Access-to-SQLite migration utility
# guides/*.md developers.md (the agent brief) and README.md
# guides/html/* the full documentation set, including both prompt builders
# starter/** www_starter, unpacked by `asppy-new` into a runnable app
#
# guides/ and starter/ are mirrored from docs/ and www_starter/ by
# tools/sync_guides.py, because GitHub Pages needs docs/ to stay at the repo
# root. Run `python tools/sync_guides.py --check` before releasing.
#
# Deliberately excluded: docs/screenshots/ (~540 KB of PNGs that only the
# GitHub README uses, and it references them by absolute URL) and the demo
# apps under www/ and www_test/, which are examples rather than library code.
ASPPY = [
"locale_data.json",
"tools/*.py",
"tools/*.md",
"tools/*.bat",
"guides/*.md",
"guides/html/*.html",
"starter/**/*",
]
[tool.setuptools.exclude-package-data]
"*" = ["*.pyc", "__pycache__/*"]