summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/src/models/pyproject.toml
diff options
context:
space:
mode:
authorTres Seaver <tseaver@palladion.com>2024-02-07 11:06:48 -0500
committerTres Seaver <tseaver@palladion.com>2024-02-07 11:08:35 -0500
commit948577c10e7fe0f645d9699d1cd0bbca351cc9bd (patch)
tree581b257169afdd44aed754cd6945afdd4e8659dc /docs/tutorials/wiki/src/models/pyproject.toml
parent5229e501acd802e90220c754e4c09de582967bbd (diff)
downloadpyramid-948577c10e7fe0f645d9699d1cd0bbca351cc9bd.tar.gz
pyramid-948577c10e7fe0f645d9699d1cd0bbca351cc9bd.tar.bz2
pyramid-948577c10e7fe0f645d9699d1cd0bbca351cc9bd.zip
chore: sync with cookiecutter:
- Use 'pyproject.toml' rather than 'setup.py', 'pytest.ini', '.coveragerg'. - Drop 'CHANGES.txt': implementing that in 'pyproject.toml' is a distraction. - Convert README to Markdown.
Diffstat (limited to 'docs/tutorials/wiki/src/models/pyproject.toml')
-rw-r--r--docs/tutorials/wiki/src/models/pyproject.toml56
1 files changed, 56 insertions, 0 deletions
diff --git a/docs/tutorials/wiki/src/models/pyproject.toml b/docs/tutorials/wiki/src/models/pyproject.toml
new file mode 100644
index 000000000..ba317b67b
--- /dev/null
+++ b/docs/tutorials/wiki/src/models/pyproject.toml
@@ -0,0 +1,56 @@
+[build-system]
+requires = ["setuptools"]
+build-backend = "setuptools.build_meta"
+
+[project]
+version = "0.0"
+name = "tutorial"
+authors = []
+description = "tutorial"
+readme = "README.md"
+keywords = ["web", "pyramid", "pylons"]
+classifiers = [
+ "Programming Language :: Python",
+ "Programming Language :: Python :: 3",
+ "Framework :: Pyramid",
+ "Topic :: Internet :: WWW/HTTP",
+ "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
+]
+requires-python = ">=3.8"
+dependencies = [
+ "plaster_pastedeploy",
+ "pyramid",
+ "pyramid_chameleon",
+ "pyramid_debugtoolbar",
+ "waitress",
+ "pyramid_retry",
+ "pyramid_tm",
+ "pyramid_zodbconn",
+ "transaction",
+ "ZODB",
+]
+
+[project.optional-dependencies]
+testing = [
+ "WebTest",
+ "pytest",
+ "pytest-cov",
+]
+
+[project.entry-points."paste.app_factory"]
+main = "tutorial:main"
+
+[tool.setuptools.packages.find]
+exclude = ["tests"]
+
+[tool.coverage.run]
+source = [
+ "tutorial",
+]
+
+[tool.pytest.ini_options]
+addopts = "--strict-markers"
+testpaths = [
+ "tutorial",
+ "tests",
+]