diff options
| author | Dennis Oberst <dennis.oberst@qt.io> | 2023-10-31 09:01:54 +0100 |
|---|---|---|
| committer | Dennis Oberst <dennis.oberst@qt.io> | 2024-04-12 11:12:48 +0200 |
| commit | 5a38771ba936584fe84537a4b01b4e8a0efc8505 (patch) | |
| tree | f8f5dcc311298b0d2260ca6ce71d12f526f17664 /build_scripts/main.py | |
| parent | f86293210f657f3c33f06018a846e80791aec560 (diff) | |
Remove deprecated command 'build_rst_docs'
... has been removed in favor of 'build_base_docs'.
[ChangeLog][PySide6] 'build_rst_docs' has been removed in favor of
'build_base_docs'.
Fixes: PYSIDE-2504
Change-Id: I2abcd6d1cef8c6b6095c9f25500380adc748ab83
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'build_scripts/main.py')
| -rw-r--r-- | build_scripts/main.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/build_scripts/main.py b/build_scripts/main.py index bf71f9962..9a8d4fb3f 100644 --- a/build_scripts/main.py +++ b/build_scripts/main.py @@ -1200,10 +1200,6 @@ class PysideBaseDocs(Command, CommandMixin): user_options = CommandMixin.mixin_user_options def __init__(self, *args, **kwargs): - if args[0].commands[0] == "build_rst_docs": - args[0].commands[0] = "build_base_docs" - log.warning("'build_rst_docs' is deprecated and will be removed. " - "Please use 'build_base_docs' instead.") self.command_name = "build_base_docs" Command.__init__(self, *args, **kwargs) CommandMixin.__init__(self) @@ -1316,8 +1312,6 @@ cmd_class_dict = { 'install': PysideInstall, 'install_lib': PysideInstallLib, 'build_base_docs': PysideBaseDocs, - # TODO: Remove build_rst_docs in the next version, see PYSIDE-2504 - 'build_rst_docs': PysideBaseDocs, } if wheel_module_exists: pyside_bdist_wheel = get_bdist_wheel_override() |
