Verified Commit 7c230d43 authored by David Runge's avatar David Runge
Browse files

Add tests to include instead of packages

pyproject.toml:
Include the tests using poetry's integration for includes instead of
packages, as the latter leads to the tests being added to packages in
the generated setup.py.

Fixes #11
parent d5cdad27
Pipeline #5952 passed with stage
in 5 minutes and 54 seconds
...@@ -5,8 +5,10 @@ description = "Tools for package repository management" ...@@ -5,8 +5,10 @@ description = "Tools for package repository management"
authors = ["Arch Linux <arch-projects@lists.archlinux.org>"] authors = ["Arch Linux <arch-projects@lists.archlinux.org>"]
license = "GPL-3.0-or-later" license = "GPL-3.0-or-later"
packages = [ packages = [
{include = 'repo_management'}, {include = 'repo_management'}
{include = 'tests', format = 'sdist'}, ]
include = [
{path = 'tests/*', format = 'sdist'}
] ]
[tool.poetry.dependencies] [tool.poetry.dependencies]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment