Skip to content
Snippets Groups Projects
Commit 6bdf8042 authored by Christoph Groth's avatar Christoph Groth
Browse files

setup.py: make warning sound less intimidating

parent b904e2b2
No related branches found
Tags v1.2.0a0
No related merge requests found
...@@ -209,12 +209,10 @@ class kwant_sdist(sdist): ...@@ -209,12 +209,10 @@ class kwant_sdist(sdist):
sdist.run(self) sdist.run(self)
if names is None: 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 """Git was not available to generate the list of files to be included in the
source distribution. The old MANIFEST.in was used.""", source distribution. The old {} was used.""".format(MANIFEST_IN_FILE),
banner(), banner(), sep='\n', file=sys.stderr)
sep='\n', file=sys.stderr)
def make_release_tree(self, base_dir, files): def make_release_tree(self, base_dir, files):
sdist.make_release_tree(self, base_dir, files) sdist.make_release_tree(self, base_dir, files)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment