diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-12-21 07:41:01 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-12-21 07:41:01 -0500 |
commit | 502fe3685098b7b0a9524c2e2de0d0db9de06ed9 (patch) | |
tree | b4e66e248ab3f41d6541726d9cd3b36ae4a87fa2 /igor.py | |
parent | a1f6641ca9d2e5cc395671ab6fe82b65949552a4 (diff) | |
parent | 9addc84bb39eddeccd31ee5a5f0fa387591e35dd (diff) | |
download | python-coveragepy-git-502fe3685098b7b0a9524c2e2de0d0db9de06ed9.tar.gz |
Automated merge with ssh://bitbucket.org/ned/coveragepy
Diffstat (limited to 'igor.py')
-rw-r--r-- | igor.py | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -126,12 +126,26 @@ def do_zip_mods(): zf.write("test/covmodzip1.py", "covmodzip1.py") zf.close() +def do_install_egg(): + """Install the egg1 egg for tests.""" + # I am pretty certain there are easier ways to install eggs... + # pylint: disable=F0401,E0611,E1101 + import distutils.core + cur_dir = os.getcwd() + os.chdir("test/eggsrc") + distutils.core.run_setup("setup.py", ["--quiet", "bdist_egg"]) + egg = glob.glob("dist/*.egg")[0] + distutils.core.run_setup( + "setup.py", ["--quiet", "easy_install", "--no-deps", "--zip-ok", egg] + ) + os.chdir(cur_dir) + def do_check_eol(): """Check files for incorrect newlines and trailing whitespace.""" ignore_dirs = [ '.svn', '.hg', '.tox', '.tox_kits', 'coverage.egg-info', - '_build', + '_build', 'covtestegg1.egg-info', ] checked = set([]) |