diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-11-17 16:42:44 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2018-03-02 20:34:47 +0000 |
commit | 648ea14719702c497d329b00cb7db7721a06402a (patch) | |
tree | d45f4d5a5e2f76f7ad8763bd47a6fd201ba92ee6 /sources/pyside2/tests/QtWebKitWidgets | |
parent | 197d56d444e0368e07dd1e867c321d010f08f9f0 (diff) |
setup.py: Clean up version handling and options
OPTION_VERSION and OPTION_LISTVERSIONS are deprecated and not used
anymore. Because the shiboken and pyside2 submodules were merged into
the pyside-setup supermodule, it is not correct to advertise available
versions based on remote branches.
If a user provides --version 5.9 to a 5.6 based setup.py, the build
would fail because setup.py wouldn't handle clang specific options.
And if a user provides a --version 5.6.5 to a 5.6 based setup.py,
we can't re-checkout the current active repo to re-run an updated
setup.py.
Thus the version selection mechanism is no longer relevant, and it will
be strictly tied to branch / tag.
In this respect, some of the version handling code is removed (because
it wouldn't work) and cleaned up.
Task-number: PYSIDE-431
Change-Id: I8357d743b5e3a638cea583a763bffc7766688030
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'sources/pyside2/tests/QtWebKitWidgets')
0 files changed, 0 insertions, 0 deletions