diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-01-15 12:35:22 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-01-15 12:35:22 +0000 |
| commit | 81320ce58ee18cb11d16f207cb0a179667134301 (patch) | |
| tree | ebbb00bcb1aa6abcbde2798618ad20074a04b7c9 /dev-python/python-utils/files/python-utils-2.5.0-no-install-tests.patch | |
| parent | e4bfbcf5e65466feff8734e167653fb690af2af6 (diff) | |
| download | baldeagleos-repo-81320ce58ee18cb11d16f207cb0a179667134301.tar.gz baldeagleos-repo-81320ce58ee18cb11d16f207cb0a179667134301.tar.xz baldeagleos-repo-81320ce58ee18cb11d16f207cb0a179667134301.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/python-utils/files/python-utils-2.5.0-no-install-tests.patch')
| -rw-r--r-- | dev-python/python-utils/files/python-utils-2.5.0-no-install-tests.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/python-utils/files/python-utils-2.5.0-no-install-tests.patch b/dev-python/python-utils/files/python-utils-2.5.0-no-install-tests.patch new file mode 100644 index 000000000000..202dce61c5d1 --- /dev/null +++ b/dev-python/python-utils/files/python-utils-2.5.0-no-install-tests.patch @@ -0,0 +1,28 @@ +From d433290bfb9583619448ca94195fa607412807d7 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Fri, 15 Jan 2021 08:31:11 +0100 +Subject: [PATCH] do not install a global 'tests' package + +setuptools.find_packages() finds all valid packages by default that +incidentally includes the test directory that gets installed as global +'tests'. Add an explicit exclude to avoid that. +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 791850e..ad39260 100644 +--- a/setup.py ++++ b/setup.py +@@ -28,7 +28,7 @@ if __name__ == '__main__': + description=about['__description__'], + url=about['__url__'], + license='BSD', +- packages=setuptools.find_packages(), ++ packages=setuptools.find_packages(exclude=['tests']), + long_description=long_description, + install_requires=['six'], + tests_require=['pytest'], +-- +2.30.0 + |
