diff options
-rw-r--r-- | .gitmodules | 4 | ||||
-rw-r--r-- | MANIFEST.in | 4 | ||||
-rw-r--r-- | prepare_coin_sources.py | 3 | ||||
-rw-r--r-- | setup.py | 8 | ||||
m--------- | sources/pyside2-examples | 0 | ||||
-rw-r--r-- | sources/pyside2/libpyside/CMakeLists.txt | 5 |
6 files changed, 2 insertions, 22 deletions
diff --git a/.gitmodules b/.gitmodules index 43f7023fb..435806e6b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -2,10 +2,6 @@ path = sources/pyside2-tools branch = 5.9 url = ../pyside-tools.git -[submodule "sources/pyside2-examples"] - path = sources/pyside2-examples - branch = 5.9 - url = ../examples.git [submodule "wiki"] path = wiki url = https://github.com/PySide/pyside2.wiki.git diff --git a/MANIFEST.in b/MANIFEST.in index 87d6b1cbe..dd79b2380 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -17,14 +17,10 @@ recursive-include sources/patchelf ** recursive-include sources/shiboken2 ** recursive-include sources/pyside2 ** recursive-include sources/pyside2-tools ** -recursive-include sources/pyside2-examples ** -recursive-exclude sources/pyside2-examples/examples/hyperui ** -recursive-exclude sources/pyside2examples/mobility ** # ignore .git recursive-exclude sources/shiboken2/.git ** recursive-exclude sources/pyside2/.git ** recursive-exclude sources/pyside2-tools/.git ** -recursive-exclude sources/pyside2-examples/.git ** # PySide package recursive-include pyside_package/PySide2 ** diff --git a/prepare_coin_sources.py b/prepare_coin_sources.py index 24dae1551..7ef291d77 100644 --- a/prepare_coin_sources.py +++ b/prepare_coin_sources.py @@ -51,8 +51,7 @@ QT_CI_TESTED_SUBMODULE = option_value("module") SUBMODULE_BRANCH = option_value("branch") submodules = { - "pyside2-tools" : "pyside-tools", - "pyside2-examples" : "examples" + "pyside2-tools" : "pyside-tools" } def usage(): @@ -102,12 +102,10 @@ containedModules = ['shiboken2', 'pyside2'] submodules = { '2.0.0.dev0': [ ["pyside2-tools", "dev"], - ["pyside2-examples", "dev"], ["wiki", "master", ".."], ], '5.9': [ ["pyside2-tools", "5.9"], - ["pyside2-examples", "5.9"], ["wiki", "master", ".."] ], '5.6': [ @@ -365,12 +363,6 @@ Use --list-versions option to get list of available versions""" % OPTION_VERSION sys.exit(1) __version__ = OPTION_VERSION -if OPTION_NOEXAMPLES: - # remove pyside2-exampes from submodules so they will not be included - for idx, item in enumerate(submodules[__version__]): - if item[0].startswith('pyside2-examples'): - del submodules[__version__][idx] - # Return a prefix suitable for the _install/_build directory def prefix(): virtualEnvName = os.environ.get('VIRTUAL_ENV', None) diff --git a/sources/pyside2-examples b/sources/pyside2-examples deleted file mode 160000 -Subproject 4b67ddd2e0c9600a145c6bef8ff952e3b4fc3e7 diff --git a/sources/pyside2/libpyside/CMakeLists.txt b/sources/pyside2/libpyside/CMakeLists.txt index de29269a4..0e21f4063 100644 --- a/sources/pyside2/libpyside/CMakeLists.txt +++ b/sources/pyside2/libpyside/CMakeLists.txt @@ -76,13 +76,10 @@ endmacro() # Test files. file(GLOB_RECURSE pyside_folder_py_files "../*.py") -# Example files. -file(GLOB_RECURSE example_folder_py_files "../../pyside2-examples/*.py") - # Mostly for setup.py. file(GLOB setup_folder_py_files "../../../*.py") -set(other_files ${pyside_folder_py_files} ${example_folder_py_files} ${setup_folder_py_files}) +set(other_files ${pyside_folder_py_files} ${setup_folder_py_files}) add_other_files(${other_files}) include_directories(${CMAKE_CURRENT_SOURCE_DIR} |