Hi,

Patch disabling shipping the "tests" module, should be pushed upstream
as well.

--- setup.py	2014-11-08 15:32:01.138317096 +0000
+++ ../websocket-client-0.18.0-orig/setup.py	2014-09-03 23:23:30.000000000 +0100
@@ -36,8 +36,9 @@
     keywords='websockets',
     scripts=["bin/wsdump.py"],
     install_requires=install_requires,
-    packages=["websocket"],
+    packages=["tests", "websocket"],
     package_data={
+        'tests': ['data/*.txt'],
         'websocket': ["cacert.pem"]
     },
 )
This allows cleaning up the rules file, patch:

--- debian/rules	2014-11-08 15:26:36.789584171 +0000
+++ ../websocket-client-0.18.0-orig/debian/rules	2014-08-20 23:09:14.000000000 +0100
@@ -8,4 +8,5 @@
 override_dh_install:
 	mv $(CURDIR)/debian/python-websocket/usr/bin/wsdump.py $(CURDIR)/debian/python-websocket/usr/bin/wsdump
 	mv $(CURDIR)/debian/python3-websocket/usr/bin/wsdump.py $(CURDIR)/debian/python3-websocket/usr/bin/wsdump3
+	rm -r $(CURDIR)/debian/python-websocket/usr/lib/python*/dist-packages/tests
 	dh_install

Reply via email to