comparison 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
comparison
equal deleted inserted replaced
27:2f74ed860ea2 28:6a8a7072c8ce
1 [project]
2 name = "patchablegraph"
3 version = "1.1.0"
4 description = ""
5 authors = [
6 {name = "Drew Perttula", email = "drewp@bigasterisk.com"},
7 ]
8 license-expression = "MIT"
9 dependencies = [
10 'rdflib >= 6.0.1',
11 'rdfdb >= 0.8.0',
12 'prometheus_client',
13 'sse_starlette>=0.10.3',
14 'starlette>=0.19.1'
15 ]
16 requires-python = ">=3.9"
17
18 [project.urls]
19 Homepage = ""
20 # url='https://projects.bigasterisk.com/patchablegraph/patchablegraph-1.1.0.tar.gz',
21
22 [project.optional-dependencies]
23 [tool.pdm]
24 [tool.pdm.dev-dependencies]
25 dev = [
26 "flake8>=4.0.1",
27 "yapf>=0.32.0",
28 "pytest>=7.1.1",
29 "pytest-watcher>=0.2.3",
30 ]
31
32 [build-system]
33 requires = ["pdm-pep517>=0.12.0"]
34 build-backend = "pdm.pep517.api"
35
36 [tool.pytest.ini_options]
37 filterwarnings = [
38 # The below warning is a consequence of how pytest doctest detects mocks and how DefinedNamespace behaves when an undefined attribute is being accessed.
39 'ignore:Code. pytest_mock_example_attribute_that_shouldnt_exist is not defined in namespace .*:UserWarning',
40 # The below warning is a consequence of how pytest detects fixtures and how DefinedNamespace behaves when an undefined attribute is being accessed.
41 'ignore:Code. _pytestfixturefunction is not defined in namespace .*:UserWarning',
42 ]