From a8b65961454448b1bcd98a3b1369c9864db24be6 Mon Sep 17 00:00:00 2001 From: Maxime Rouyrre Date: Tue, 29 Oct 2013 11:10:39 +0100 Subject: [PATCH] Exclude tests package from setup.py. Pull request nvie/rq#192 solved the issue for `pip install rq` but not when directly installing from a git repository as in `pip install git+git://github.com/nvie/rq@master` that still creates a possibly conflicting `tests` folder. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6a77f76..2d0b06c 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ setup( description='RQ is a simple, lightweight, library for creating background ' 'jobs, and processing them.', long_description=__doc__, - packages=find_packages(), + packages=find_packages(exclude=['tests']), include_package_data=True, zip_safe=False, platforms='any',