python-pyudev/0001-Do-not-install-the-tests-as-a-module.patch

24 lines
628 B
Diff
Raw Normal View History

From 2aa590dcdeb8ced47e801b9fcef084959b8e2bc9 Mon Sep 17 00:00:00 2001
From: David Shea <dshea@redhat.com>
Date: Mon, 14 Sep 2015 13:34:17 -0400
Subject: [PATCH] Do not install the tests as a module.
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 1920cec..a8044e9 100644
--- a/setup.py
+++ b/setup.py
@@ -52,5 +52,5 @@
'Topic :: System :: Hardware',
'Topic :: System :: Operating System Kernels :: Linux',
],
- packages=setuptools.find_packages(),
+ packages=setuptools.find_packages(exclude=['tests.*', 'tests']),
)
--
2.4.3