Added small link to the build docs when encountering a build problem
Related to #1024
This commit is contained in:
15
setup.py
15
setup.py
@@ -257,10 +257,17 @@ class CustomSDist(sdist):
|
|||||||
class CustomBuild(build):
|
class CustomBuild(build):
|
||||||
def run(self):
|
def run(self):
|
||||||
# generate the version file
|
# generate the version file
|
||||||
generate_version_py()
|
try:
|
||||||
generate_primitives_h()
|
generate_version_py()
|
||||||
build.run(self)
|
generate_primitives_h()
|
||||||
print "\nBuild Complete"
|
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):
|
class CustomBuildExt(build_ext):
|
||||||
def build_extensions(self):
|
def build_extensions(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user