forked from orbit-oss/flask
update docs and examples for pyproject
setup.py -> pyproject.toml venv -> .venv
This commit is contained in:
parent
6d6d986fc5
commit
8f13f5b6d6
24 changed files with 153 additions and 195 deletions
26
examples/javascript/pyproject.toml
Normal file
26
examples/javascript/pyproject.toml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
[project]
|
||||
name = "js_example"
|
||||
version = "1.1.0"
|
||||
description = "Demonstrates making AJAX requests to Flask."
|
||||
readme = "README.rst"
|
||||
license = {text = "BSD-3-Clause"}
|
||||
maintainers = [{name = "Pallets", email = "contact@palletsprojects.com"}]
|
||||
dependencies = ["flask"]
|
||||
|
||||
[project.urls]
|
||||
Documentation = "https://flask.palletsprojects.com/patterns/jquery/"
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = ["pytest", "blinker"]
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
filterwarnings = ["error"]
|
||||
|
||||
[tool.coverage.run]
|
||||
branch = true
|
||||
source = ["js_example", "tests"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue