annotate pyproject.toml @ 28:6a8a7072c8ce

setup.py to pyproject; attempt new package structure
author drewp@bigasterisk.com
date Sun, 24 Apr 2022 00:30:28 -0700
parents
children 0dd0a01c2c6e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
1 [project]
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
2 name = "patchablegraph"
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
3 version = "1.1.0"
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
4 description = ""
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
5 authors = [
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
6 {name = "Drew Perttula", email = "drewp@bigasterisk.com"},
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
7 ]
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
8 license-expression = "MIT"
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
9 dependencies = [
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
10 'rdflib >= 6.0.1',
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
11 'rdfdb >= 0.8.0',
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
12 'prometheus_client',
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
13 'sse_starlette>=0.10.3',
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
14 'starlette>=0.19.1'
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
15 ]
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
16 requires-python = ">=3.9"
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
17
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
18 [project.urls]
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
19 Homepage = ""
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
20 # url='https://projects.bigasterisk.com/patchablegraph/patchablegraph-1.1.0.tar.gz',
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
21
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
22 [project.optional-dependencies]
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
23 [tool.pdm]
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
24 [tool.pdm.dev-dependencies]
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
25 dev = [
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
26 "flake8>=4.0.1",
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
27 "yapf>=0.32.0",
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
28 "pytest>=7.1.1",
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
29 "pytest-watcher>=0.2.3",
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
30 ]
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
31
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
32 [build-system]
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
33 requires = ["pdm-pep517>=0.12.0"]
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
34 build-backend = "pdm.pep517.api"
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
35
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
36 [tool.pytest.ini_options]
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
37 filterwarnings = [
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
38 # The below warning is a consequence of how pytest doctest detects mocks and how DefinedNamespace behaves when an undefined attribute is being accessed.
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
39 'ignore:Code. pytest_mock_example_attribute_that_shouldnt_exist is not defined in namespace .*:UserWarning',
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
40 # The below warning is a consequence of how pytest detects fixtures and how DefinedNamespace behaves when an undefined attribute is being accessed.
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
41 'ignore:Code. _pytestfixturefunction is not defined in namespace .*:UserWarning',
6a8a7072c8ce setup.py to pyproject; attempt new package structure
drewp@bigasterisk.com
parents:
diff changeset
42 ]