diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..3b4273a --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +tidelift: pypi/pytest-runner diff --git a/README.rst b/README.rst index 0a400aa..ba9805b 100644 --- a/README.rst +++ b/README.rst @@ -16,6 +16,9 @@ .. .. image:: https://readthedocs.org/projects/pytest-runner/badge/?version=latest .. :target: https://pytest-runner.readthedocs.io/en/latest/?badge=latest +.. image:: https://tidelift.com/badges/package/pypi/pytest-runner + :target: https://tidelift.com/subscription/pkg/pypi-pytest-runner?utm_source=pypi-pytest-runner&utm_medium=readme + Setup scripts can use pytest-runner to add setup.py test support for pytest runner. @@ -129,3 +132,10 @@ is invoked:: #... (other setup requirements) ] + pytest_runner, ) + +Security Contact +================ + +To report a security vulnerability, please use the +`Tidelift security contact `_. +Tidelift will coordinate the fix and disclosure. diff --git a/docs/_templates/tidelift-sidebar.html b/docs/_templates/tidelift-sidebar.html new file mode 100644 index 0000000..c89c0f0 --- /dev/null +++ b/docs/_templates/tidelift-sidebar.html @@ -0,0 +1,6 @@ +

Professional support

+ +

+Professionally-supported {{ project }} is available with the +Tidelift Subscription. +

diff --git a/docs/conf.py b/docs/conf.py index 40166c5..e06bee4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -28,3 +28,8 @@ ], ) } + +# Custom sidebar templates, maps document names to template names. +html_theme = 'alabaster' +templates_path = ['_templates'] +html_sidebars = {'index': ['tidelift-sidebar.html']} diff --git a/tox.ini b/tox.ini index d267e16..2e22bd3 100644 --- a/tox.ini +++ b/tox.ini @@ -32,11 +32,14 @@ deps = pep517>=0.5 twine>=1.13 path.py + jaraco.tidelift passenv = TWINE_PASSWORD + TIDELIFT_TOKEN setenv = TWINE_USERNAME = {env:TWINE_USERNAME:__token__} commands = python -c "import path; path.Path('dist').rmtree_p()" python -m pep517.build . python -m twine upload dist/* + python -m jaraco.tidelift.publish-release-notes