Skip to content
Merged
Changes from 1 commit
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
Next Next commit
Do not generate docs on build.
The process of building the docs requires a UI and on a Linux machine
this will require an X-server.  The docs are not packaced in the wheel
so this is entirely pointless and worse, this prevents installation of
Mayavi on a headless server.
  • Loading branch information
prabhuramachandran committed Feb 17, 2022
commit f7a58345eb9315b40b7e827a5a51cd5e2efe52a2
10 changes: 0 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,16 +267,6 @@ class MyBuild(build.build):
def run(self):
build_tvtk_classes_zip()
build.build.run(self)
try:
self.run_command('gen_docs')
except:
log.warn("Couldn't generate documentation:\n%s" %
traceback.format_exception(*sys.exc_info()))
try:
self.run_command('build_docs')
except:
log.warn("Couldn't build documentation:\n%s" %
traceback.format_exception(*sys.exc_info()))


class MyDevelop(develop.develop):
Expand Down