From 6bdf8042601174ab517598a541bcd16863c590a3 Mon Sep 17 00:00:00 2001
From: Christoph Groth <christoph.groth@cea.fr>
Date: Wed, 21 Oct 2015 22:13:40 +0200
Subject: [PATCH] setup.py: make warning sound less intimidating

---
 setup.py | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/setup.py b/setup.py
index ba679701..b1436a4f 100755
--- a/setup.py
+++ b/setup.py
@@ -209,12 +209,10 @@ class kwant_sdist(sdist):
         sdist.run(self)
 
         if names is None:
-            print(banner(' Warning '),
-
+            print(banner(' Caution '),
         """Git was not available to generate the list of files to be included in the
-source distribution.  The old MANIFEST.in was used.""",
-                  banner(),
-                  sep='\n', file=sys.stderr)
+source distribution.  The old {} was used.""".format(MANIFEST_IN_FILE),
+                  banner(), sep='\n', file=sys.stderr)
 
     def make_release_tree(self, base_dir, files):
         sdist.make_release_tree(self, base_dir, files)
-- 
GitLab