diff options
| author | layday <layday@protonmail.com> | 2021-03-21 19:36:14 +0200 |
|---|---|---|
| committer | layday <layday@protonmail.com> | 2021-03-21 19:36:14 +0200 |
| commit | f3ba2139eacd5d27d052f0659b5d7dc1413977b0 (patch) | |
| tree | 17aa06b22717aa4d434314d03b451765ebb173f2 /setuptools/build_meta.py | |
| parent | 8f2cc7a1f6cfbfdd8fd07b92dc086b24f2d00e41 (diff) | |
| download | python-setuptools-git-f3ba2139eacd5d27d052f0659b5d7dc1413977b0.tar.gz | |
fixup! fixup! build_meta: produce informative error when a dist is not found
Diffstat (limited to 'setuptools/build_meta.py')
| -rw-r--r-- | setuptools/build_meta.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/build_meta.py b/setuptools/build_meta.py index 3c45db72..36fbc9e8 100644 --- a/setuptools/build_meta.py +++ b/setuptools/build_meta.py @@ -104,9 +104,9 @@ def _file_with_extension(directory, extension): try: return next(matching) except StopIteration: - raise ValueError('No distribution was found. The distribution was ' - 'possibly not built. Ensure that your `setup.py` ' - 'is not empty and that it calls `setup()`.') + raise ValueError( + 'No distribution was found. Ensure that `setup.py` ' + 'is not empty and that it calls `setup()`.') def _open_setup_script(setup_script): |
