2022-07-19 19:17:45 +08:00
|
|
|
# Specify the build system.
|
|
|
|
[build-system]
|
2023-03-21 13:04:19 +08:00
|
|
|
requires = ["sip >=6.0.2, <6.3", "PyQt-builder >=1.6, <2", "PyQt5==5.15.4", "PyQt5-sip<13,>=12.8"]
|
2022-07-19 19:17:45 +08:00
|
|
|
build-backend = "sipbuild.api"
|
|
|
|
|
|
|
|
# Specify the PEP 566 metadata for the project.
|
|
|
|
[tool.sip.metadata]
|
|
|
|
name = "PyQtAds"
|
2023-03-21 13:04:19 +08:00
|
|
|
version = "4.0.2"
|
2022-07-19 19:17:45 +08:00
|
|
|
summary = "Python bindings for Qt Advanced Docking System"
|
|
|
|
home-page = "https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System/"
|
|
|
|
license = "LGPL v2.1"
|
|
|
|
description-file = "README.md"
|
|
|
|
requires-dist = "PyQt5 (>=5.15.4)"
|
|
|
|
description-content-type = "text/markdown"
|
|
|
|
|
|
|
|
[tool.sip.project]
|
|
|
|
tag-prefix = "QtAds"
|
|
|
|
|
|
|
|
[tool.sip.bindings.ads]
|
|
|
|
define-macros = ["ADS_SHARED_EXPORT"]
|
|
|
|
sip-file = "ads.sip"
|
|
|
|
include-dirs = ["src"]
|
2023-03-21 13:04:19 +08:00
|
|
|
qmake-QT = ["widgets", "gui-private; platform_system == 'Linux'"]
|
2022-07-19 19:17:45 +08:00
|
|
|
headers = [
|
2023-03-21 13:04:19 +08:00
|
|
|
"src/AutoHideDockContainer.h",
|
|
|
|
"src/AutoHideSideBar.h",
|
|
|
|
"src/AutoHideTab.h",
|
2022-07-19 19:17:45 +08:00
|
|
|
"src/DockAreaTabBar.h",
|
|
|
|
"src/DockAreaTitleBar.h",
|
|
|
|
"src/DockAreaTitleBar_p.h",
|
|
|
|
"src/DockAreaWidget.h",
|
|
|
|
"src/DockComponentsFactory.h",
|
|
|
|
"src/DockContainerWidget.h",
|
|
|
|
"src/DockFocusController.h",
|
|
|
|
"src/DockManager.h",
|
|
|
|
"src/DockOverlay.h",
|
|
|
|
"src/DockSplitter.h",
|
|
|
|
"src/DockWidget.h",
|
|
|
|
"src/DockWidgetTab.h",
|
|
|
|
"src/DockingStateReader.h",
|
|
|
|
"src/ElidingLabel.h",
|
|
|
|
"src/FloatingDockContainer.h",
|
|
|
|
"src/FloatingDragPreview.h",
|
|
|
|
"src/IconProvider.h",
|
2023-03-21 13:04:19 +08:00
|
|
|
"src/PushButton.h",
|
|
|
|
"src/ResizeHandle.h",
|
2022-07-19 19:17:45 +08:00
|
|
|
"src/ads_globals.h",
|
2023-03-21 13:04:19 +08:00
|
|
|
"src/linux/FloatingWidgetTitleBar.h; platform_system == 'Linux'",
|
2022-07-19 19:17:45 +08:00
|
|
|
]
|
|
|
|
sources = [
|
2023-03-21 13:04:19 +08:00
|
|
|
"src/AutoHideTab.cpp",
|
|
|
|
"src/AutoHideDockContainer.cpp",
|
|
|
|
"src/AutoHideSideBar.cpp",
|
2022-07-19 19:17:45 +08:00
|
|
|
"src/DockAreaTabBar.cpp",
|
|
|
|
"src/DockAreaTitleBar.cpp",
|
|
|
|
"src/DockAreaWidget.cpp",
|
|
|
|
"src/DockComponentsFactory.cpp",
|
|
|
|
"src/DockContainerWidget.cpp",
|
|
|
|
"src/DockFocusController.cpp",
|
|
|
|
"src/DockManager.cpp",
|
|
|
|
"src/DockOverlay.cpp",
|
|
|
|
"src/DockSplitter.cpp",
|
|
|
|
"src/DockWidget.cpp",
|
|
|
|
"src/DockWidgetTab.cpp",
|
|
|
|
"src/DockingStateReader.cpp",
|
|
|
|
"src/ElidingLabel.cpp",
|
|
|
|
"src/FloatingDockContainer.cpp",
|
|
|
|
"src/FloatingDragPreview.cpp",
|
|
|
|
"src/IconProvider.cpp",
|
2023-03-21 13:04:19 +08:00
|
|
|
"src/PushButton.cpp",
|
|
|
|
"src/ResizeHandle.cpp",
|
2022-07-19 19:17:45 +08:00
|
|
|
"src/ads_globals.cpp",
|
2023-04-08 15:08:01 +08:00
|
|
|
"src/linux/FloatingWidgetTitleBar.cpp; platform_system == 'Linux'",
|
2022-07-19 19:17:45 +08:00
|
|
|
]
|