0

Added small link to the build docs when encountering a build problem

Related to #1024
This commit is contained in:
Andrew Chin
2013-12-26 22:30:10 -05:00
parent 1a1022fa2f
commit 94b8a81a90

View File

@@ -257,10 +257,17 @@ class CustomSDist(sdist):
class CustomBuild(build):
def run(self):
# generate the version file
generate_version_py()
generate_primitives_h()
build.run(self)
print "\nBuild Complete"
try:
generate_version_py()
generate_primitives_h()
build.run(self)
print "\nBuild Complete"
except Exception:
print "\nFailed to build Overviewer!"
print "Please review the errors printed above and the build instructions"
print "at <http://docs.overviewer.org/en/latest/building/>. If you are"
print "still having build problems, file an incident on the github tracker"
print "or find us in IRC."
class CustomBuildExt(build_ext):
def build_extensions(self):