From 948577c10e7fe0f645d9699d1cd0bbca351cc9bd Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Wed, 7 Feb 2024 11:06:48 -0500 Subject: 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. --- docs/tutorials/wiki/src/basiclayout/pyproject.toml | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 docs/tutorials/wiki/src/basiclayout/pyproject.toml (limited to 'docs/tutorials/wiki/src/basiclayout/pyproject.toml') diff --git a/docs/tutorials/wiki/src/basiclayout/pyproject.toml b/docs/tutorials/wiki/src/basiclayout/pyproject.toml new file mode 100644 index 000000000..ba317b67b --- /dev/null +++ b/docs/tutorials/wiki/src/basiclayout/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", +] -- cgit v1.2.3