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.
main
Maxime Rouyrre 11 years ago
parent 552ee49685
commit a8b6596145

@ -36,7 +36,7 @@ setup(
description='RQ is a simple, lightweight, library for creating background ' description='RQ is a simple, lightweight, library for creating background '
'jobs, and processing them.', 'jobs, and processing them.',
long_description=__doc__, long_description=__doc__,
packages=find_packages(), packages=find_packages(exclude=['tests']),
include_package_data=True, include_package_data=True,
zip_safe=False, zip_safe=False,
platforms='any', platforms='any',

Loading…
Cancel
Save