Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions setuptools_scm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down