From 16bfabb9c51e4721851a5d3220d5b78cff4d7892 Mon Sep 17 00:00:00 2001
From: Mark Haines <mark.haines@matrix.org>
Date: Thu, 22 Jan 2015 14:32:51 +0000
Subject: [PATCH] Fix manifest. Ignore contrib and docs directories when
 checking manifest against source control.

---
 MANIFEST.in                    | 1 +
 setup.cfg                      | 8 ++++++++
 tests/storage/TESTS_NEEDED_FOR | 5 -----
 3 files changed, 9 insertions(+), 5 deletions(-)
 delete mode 100644 tests/storage/TESTS_NEEDED_FOR

diff --git a/MANIFEST.in b/MANIFEST.in
index 7979ec0809..8243a942ee 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -2,6 +2,7 @@ include synctl
 include LICENSE
 include VERSION
 include *.rst
+include demo/README
 
 recursive-include synapse/storage/schema *.sql
 
diff --git a/setup.cfg b/setup.cfg
index 2830831f00..888ad6ed4a 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -8,3 +8,11 @@ test = trial
 
 [trial]
 test_suite = tests
+
+[check-manifest]
+ignore =
+    contrib
+    contrib/*
+    docs/*
+    pylint.cfg
+    tox.ini
diff --git a/tests/storage/TESTS_NEEDED_FOR b/tests/storage/TESTS_NEEDED_FOR
deleted file mode 100644
index 8e5d0cbdc4..0000000000
--- a/tests/storage/TESTS_NEEDED_FOR
+++ /dev/null
@@ -1,5 +0,0 @@
-synapse/storage/feedback.py
-synapse/storage/keys.py
-synapse/storage/pdu.py
-synapse/storage/stream.py
-synapse/storage/transactions.py
-- 
GitLab