blob: 5072949217b3c96a9a49c6e0a9b8bfb0a95ddb2c [file] [log] [blame]
Exclude tests from install targets.
Installing tests can lead to file collisions. As a result, portage complains
loudly.
Upstream bug: https://github.com/WoLpH/python-statsd/issues/37
Proposed solution: This is the proposed solution.
Patch by pprabhu@chromium.org
--- setup.py
+++ setup.py
@@ -15,7 +15,7 @@
description=statsd.__description__,
url=statsd.__url__,
license='BSD',
- packages=setuptools.find_packages(),
+ packages=setuptools.find_packages(exclude=('tests',)),
long_description=long_description,
test_suite='nose.collector',
tests_require=['nose', 'mock', 'coverage'],