diff options
author | Ronny Pfannschmidt <opensource@ronnypfannschmidt.de> | 2016-03-17 09:57:04 +0100 |
---|---|---|
committer | Ronny Pfannschmidt <opensource@ronnypfannschmidt.de> | 2016-03-17 09:57:04 +0100 |
commit | 4835e4d00e3a0b83cdbe66f8aa5629f560f00aa6 (patch) | |
tree | 76b0d7061ac9b2a64e21e329751efb548602a00e | |
parent | e8ef5cdc9749814643f8a02fab8f2939b6774ffd (diff) | |
parent | 1bd11bc619a701c2baa2f39f193659bdd3e3e4e1 (diff) | |
download | setuptools-scm-4835e4d00e3a0b83cdbe66f8aa5629f560f00aa6.tar.gz |
Merge pull request #82 from untitaker/error-message3
Improve error message, third take
-rw-r--r-- | setuptools_scm/__init__.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/setuptools_scm/__init__.py b/setuptools_scm/__init__.py index 002a1f8..c17ba90 100644 --- a/setuptools_scm/__init__.py +++ b/setuptools_scm/__init__.py @@ -73,9 +73,11 @@ def _do_parse(root, parse): raise LookupError( "setuptools-scm was unable to detect version for %r.\n\n" - "Make sure you're not using GitHub's tarballs (or similar ones), as " - "those don't contain the necessary metadata. Use PyPI's tarballs " - "instead.\n\nFor example, if you're using pip, instead of " + "Make sure you're either building from a fully intact git repository " + "or PyPI tarballs. Most other sources (such as GitHub's tarballs, a " + "git checkout without the .git folder) don't contain the necessary " + "metadata and will not work.\n\n" + "For example, if you're using pip, instead of " "https://github.com/user/proj/archive/master.zip " "use git+https://github.com/user/proj.git#egg=proj" % root) |