-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
45 lines (40 loc) · 1.56 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[project]
version = '1.0.0'
name = 'pytest-pt'
description = 'pytest plugin to use *.pt files as tests'
authors = [
{ name = 'Curt J. Sampson', email = '[email protected]' },
]
license = { file = 'LICENSE' }
readme = 'README.md'
urls.homepage = 'https://github.com/cynic-net/pytest-pt'
urls.source = 'https://github.com/cynic-net/pytest-pt'
urls.tracker = 'https://github.com/cynic-net/pytest-pt/issues'
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Framework :: Pytest',
'Topic :: Software Development :: Testing',
'Programming Language :: Python :: 3 :: Only',
'License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication',
]
requires-python = '>=3.6'
dependencies = ['pytest']
[build-system]
requires = ['setuptools']
build-backend = 'setuptools.build_meta'
[tool.setuptools.packages]
find = { where = ['src'] }
[tool.setuptools]
# The packages.find specification above, for whatever reason, ignores all
# top-level modules (i.e., `*.py` files that can be imported). We work
# around this by explicitly adding our top-level module to py-modules.
# (Note that this must be a Python module name, not a filename.) This
# configuration directive is mentioned but not documented, but it seems
# to add additional modules to the list that `packages.find` comes up with.
py-modules = ['pytest_pt']
# This is used by pytest ≥6.0. Pytest 5.x does not read pyproject.toml
# files, and so is configured separately in tox.ini.
[tool.pytest.ini_options]
addopts = ['-p pytest_pt']
testpaths = ['tsrc']