mpenning / ciscoconfparse

Parse, Audit, Query, Build, and Modify Arista / Cisco / Juniper / Palo Alto / F5 configurations.
http://www.pennington.net/py/ciscoconfparse/
GNU General Public License v3.0
793 stars 220 forks source link

Tests are not packaged #106

Closed mcepl closed 6 years ago

mcepl commented 6 years ago

Hi,

I would like to fix packaging for OpenSUSE, but your release tarball does not contain the test directory. Could you please fix your MANIFEST.in to have them included in the tarball? Something like the following should help, IMHO.

matej@hubmaier: ciscoconfparse-1.3.15$ diff -u MANIFEST.in.orig MANIFEST.in
--- MANIFEST.in.orig    2018-01-20 13:00:09.000000000 +0100
+++ MANIFEST.in 2018-05-22 10:46:39.530292143 +0200
@@ -5,5 +5,6 @@
 recursive-exclude * *.orig
 recursive-exclude * BUILD.ME
 recursive-exclude * BITBUCKET_HG
+recursive-include tests
 prune sphinx-doc/_static*
 prune sphinx-doc/_build*
matej@hubmaier: ciscoconfparse-1.3.15$

Thank you.

mpenning commented 6 years ago

I added recursive-include tests to MANIFEST.in. Please let me know if you run into more issues.