diff options
| author | Ram Rachum <ram@rachum.com> | 2020-06-16 13:31:12 +0300 |
|---|---|---|
| committer | Ram Rachum <ram@rachum.com> | 2020-06-28 22:20:23 +0300 |
| commit | a9eb9e73def8ca6c469e59f1b008746e368ad4c1 (patch) | |
| tree | 8c31a8e9003fd08f998ecc691d57ab08637926ce /setuptools/installer.py | |
| parent | 308314268233cc56e7a8c5870fec75b566230411 (diff) | |
| download | python-setuptools-git-a9eb9e73def8ca6c469e59f1b008746e368ad4c1.tar.gz | |
Fix exception causes all over the codebase
Diffstat (limited to 'setuptools/installer.py')
| -rw-r--r-- | setuptools/installer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/installer.py b/setuptools/installer.py index 1f183bd9..e5acec27 100644 --- a/setuptools/installer.py +++ b/setuptools/installer.py @@ -127,7 +127,7 @@ def fetch_build_egg(dist, req): try: subprocess.check_call(cmd) except subprocess.CalledProcessError as e: - raise DistutilsError(str(e)) + raise DistutilsError(str(e)) from e wheel = Wheel(glob.glob(os.path.join(tmpdir, '*.whl'))[0]) dist_location = os.path.join(eggs_dir, wheel.egg_name()) wheel.install_as_egg(dist_location) |
