mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 13:15:43 +08:00
55ef6ef863
- Reduce requirements for the python build. - Fix version number. - Generate type hints for *.pyi files. - Make functional for sip-build - Reduced the unnecessary depth of the package. NOTE: This is a breaking change for python users, where, `from PyQtAds import QtAds` is changed to `import PyQtAds as QtAds`( or simply `import PyQtAds`)
78 lines
2.1 KiB
TOML
78 lines
2.1 KiB
TOML
# Specify the build system.
|
|
[build-system]
|
|
requires = ["sip >=6.0.2", "PyQt-builder >=1.6", "PyQt5>=5.15", "PyQt5-sip>=12.8"]
|
|
build-backend = "sipbuild.api"
|
|
|
|
# Specify the PEP 566 metadata for the project.
|
|
[tool.sip.metadata]
|
|
name = "PyQtAds"
|
|
version = "4.4.1"
|
|
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"
|
|
dunder-init = true
|
|
|
|
[tool.sip.bindings.ads]
|
|
pep484-pyi = true
|
|
define-macros = ["ADS_SHARED_EXPORT"]
|
|
sip-file = "ads.sip"
|
|
include-dirs = ["src"]
|
|
qmake-QT = ["widgets", "gui-private; platform_system == 'Linux'"]
|
|
headers = [
|
|
"src/AutoHideDockContainer.h",
|
|
"src/AutoHideSideBar.h",
|
|
"src/AutoHideTab.h",
|
|
"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",
|
|
"src/PushButton.h",
|
|
"src/ResizeHandle.h",
|
|
"src/ads_globals.h",
|
|
"src/linux/FloatingWidgetTitleBar.h; platform_system == 'Linux'",
|
|
]
|
|
sources = [
|
|
"src/AutoHideTab.cpp",
|
|
"src/AutoHideDockContainer.cpp",
|
|
"src/AutoHideSideBar.cpp",
|
|
"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",
|
|
"src/PushButton.cpp",
|
|
"src/ResizeHandle.cpp",
|
|
"src/ads_globals.cpp",
|
|
"src/linux/FloatingWidgetTitleBar.cpp; platform_system == 'Linux'",
|
|
]
|