summaryrefslogtreecommitdiff
path: root/textproc/py-textfsm/files/patch-setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-textfsm/files/patch-setup.py')
-rw-r--r--textproc/py-textfsm/files/patch-setup.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/py-textfsm/files/patch-setup.py b/textproc/py-textfsm/files/patch-setup.py
new file mode 100644
index 000000000000..e7a7c499d537
--- /dev/null
+++ b/textproc/py-textfsm/files/patch-setup.py
@@ -0,0 +1,13 @@
+Remove "testdata" directory from installation. It is only required for the
+testsuite.
+
+--- setup.py.orig 2019-11-26 11:17:07 UTC
++++ setup.py
+@@ -52,7 +52,6 @@ setup(name='textfsm',
+ ]
+ },
+ include_package_data=True,
+- package_data={'textfsm': ['../testdata/*']},
+ install_requires=['six', 'future'],
+ setup_requires=['pytest-runner'],
+ tests_require=['pytest'])