|
| 1 | +# Specify sip v6 as the build system for the package. |
| 2 | +[build-system] |
| 3 | +requires = ["sip >=5.3, <7", "PyQt-builder >=1.9, <2"] |
| 4 | +build-backend = "sipbuild.api" |
| 5 | + |
| 6 | +# Specify the PEP 621 metadata for the project. |
| 7 | +[project] |
| 8 | +name = "WigglyWidget" |
| 9 | +version = "0.1.0" |
| 10 | +description = "Python bindings for the WigglyWidget library" |
| 11 | +urls.homepage = "https://github.com/PyQt5/PyQt" |
| 12 | +dependencies = ["PyQt5 (>=5.15.0, <6.0.0)"] |
| 13 | + |
| 14 | +[[project.authors]] |
| 15 | +name = "Irony" |
| 16 | + |
| 17 | + |
| 18 | +# Specify a PyQt-based project. |
| 19 | +[tool.sip] |
| 20 | +project-factory = "pyqtbuild:PyQtProject" |
| 21 | + |
| 22 | +# Specify the PEP 566 metadata for the project. |
| 23 | +[tool.sip.metadata] |
| 24 | +name = "WigglyWidget" |
| 25 | +summary = "Python bindings for the WigglyWidget library" |
| 26 | +home-page = "https://github.com/PyQt5/PyQt" |
| 27 | +author = "Irony" |
| 28 | +author-email = "[email protected]" |
| 29 | +requires-dist = "PyQt5 (>=5.15.0, <6.0.0)" |
| 30 | + |
| 31 | +# Configure the project. |
| 32 | +[tool.sip.project] |
| 33 | +tag-prefix = "WigglyWidget" |
| 34 | +sip-include-dirs = [ |
| 35 | + "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/PyQt5/bindings", |
| 36 | + "/usr/local/lib64/python3.6/site-packages/PyQt5/bindings", |
| 37 | + "C:/soft/Python311/Lib/site-packages/PyQt5/bindings", |
| 38 | +] |
| 39 | + |
| 40 | +# Configure the building of the fib bindings. |
| 41 | +[tool.sip.bindings.WigglyWidget] |
| 42 | +qmake-QT = ["core", "gui", "widgets"] |
| 43 | +headers = ["wigglywidget.h"] |
| 44 | +include-dirs = ["../dist/include"] |
| 45 | +libraries = ["LibWigglyWidget"] |
| 46 | +library-dirs = ["../dist/lib"] |
0 commit comments