[tor-commits] [stem/master] Exclude gedit backup files

atagar at torproject.org atagar at torproject.org
Wed Feb 1 16:37:32 UTC 2017


commit 082a97b84102518d1429fcc287bc9f94cf097968
Author: Damian Johnson <atagar at torproject.org>
Date:   Mon Jan 30 10:44:13 2017 -0800

    Exclude gedit backup files
    
    Dropping files ending with a tilda. Found this through the following integ test
    failure...
    
      ======================================================================
      FAIL: test_sdist_matches_git
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/home/atagar/Desktop/stem/test/runner.py", line 178, in wrapped
          return func(self, *args, **kwargs)
        File "/home/atagar/Desktop/stem/test/integ/installation.py", line 104, in test_sdist_matches_git
          self.fail(INSTALL_MISMATCH_MSG + '\n'.join(issues))
      AssertionError: Running 'python setup.py sdist' doesn't match our git contents in the following way. The manifest in our setup.py may need to be updated...
    
        * test/unit/version.py~ isn't expected in our release tarball
---
 setup.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/setup.py b/setup.py
index c17be9e..8f4a6e8 100644
--- a/setup.py
+++ b/setup.py
@@ -47,6 +47,7 @@ global-exclude *.pyc
 global-exclude *.swp
 global-exclude *.swo
 global-exclude .tox
+global-exclude *~
 recursive-exclude test/data *
 recursive-exclude docs/_build *
 """.strip()





More information about the tor-commits mailing list