aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2020-10-15 15:06:21 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-10-15 15:40:16 +0000
commitd1306c1efa629842eda2666307375d4d3951c6dc (patch)
tree2a9b101326947bfecc6a2214f0b51e3d3b6dc4eb /build_scripts
parent31e1ec9b5d40e1431dbf0c756b166422c702cad6 (diff)
build_rst_docs: add DistUtilsCommandMixin to the command
Task-number: PYSIDE-807 Change-Id: Ib2369887bafc61971ffa500427ec85c1cd73c2b2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'build_scripts')
-rw-r--r--build_scripts/main.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/build_scripts/main.py b/build_scripts/main.py
index ab0a6c083..8fd6fd189 100644
--- a/build_scripts/main.py
+++ b/build_scripts/main.py
@@ -1162,11 +1162,12 @@ class PysideBuild(_build, DistUtilsCommandMixin):
"updated rpath (OS/X) in {}.".format(srcpath))
-class PysideRstDocs(Command):
+class PysideRstDocs(Command, DistUtilsCommandMixin):
description = "Build .rst documentation only"
- user_options = []
+ user_options = DistUtilsCommandMixin.mixin_user_options
def initialize_options(self):
+ DistUtilsCommandMixin.__init__(self)
log.info("-- This build process will not include the API documentation."
"API documentation requires a full build of pyside/shiboken.")
self.skip = False
@@ -1235,7 +1236,7 @@ class PysideRstDocs(Command):
log.info("-- The documentation was built. Check html/pyside2/index.html")
def finalize_options(self):
- pass
+ DistUtilsCommandMixin.mixin_finalize_options(self)
cmd_class_dict = {