11# Specify the build system.
22[build-system ]
3- requires = [' sip >=5.0.0, <6.8.0 ' , ' PyQt-builder >=1.6, <2' , ' PyQt5' ] # change to PyQt6 if necessary
3+ requires = [' sip >=5.0.0, <7 ' , ' PyQt-builder >=1.6, <2' , ' PyQt5' ] # change to PyQt6 if necessary
44build-backend = ' sipbuild.api'
55
6- # Specify the PEP 566 metadata for the project.
7- [tool . sip . metadata ]
6+ # Specify the PEP 621 metadata for the project.
7+ [project ]
88name = ' QCustomPlot_PyQt5' # change to PyQt6 if necessary
9- version = ' 2.1.1.1'
10- summary = ' QCustomPlot is a Qt widget for plotting and data visualization'
11- home-page = ' https://github.com/salsergey/QCustomPlot-PyQt'
12- author = ' Sergey Salnikov'
13- author-email = ' salsergey@gmail.com'
14- license = ' MIT'
15- description-file = ' README.md'
16- description-content-type = ' text/markdown'
17- classifier = [
9+ version = ' 2.1.1.2'
10+ description = ' QCustomPlot is a Qt widget for plotting and data visualization'
11+ readme = ' README.md'
12+ urls.homepage = ' https://github.com/salsergey/QCustomPlot-PyQt'
13+ requires-python = ' >=3.7'
14+ license = {text = ' MIT' }
15+ keywords = [' PyQt' , ' QCustomPlot' , ' GUI' ]
16+ authors = [
17+ {email = ' salsergey@gmail.com' },
18+ {name = ' Sergey Salnikov' }
19+ ]
20+ classifiers = [
1821 ' Development Status :: 5 - Production/Stable' ,
1922 ' Environment :: X11 Applications :: Qt' ,
2023 ' Intended Audience :: Developers' ,
@@ -30,11 +33,12 @@ classifier = [
3033 ' Programming Language :: Python :: 3.12' ,
3134 ' Topic :: Software Development :: User Interfaces'
3235]
33- requires-dist = ' PyQt5' # change to PyQt6 if necessary
36+ dependencies = [
37+ ' PyQt5' # change to PyQt6 if necessary
38+ ]
3439
3540[tool .sip .project ]
3641sip-files-dir = ' sip'
37- abi-version = ' 12' # change to 13 if using PyQt6
3842sdist-excludes = [
3943 ' .*' ,
4044 ' .*/*' ,
@@ -59,5 +63,15 @@ sdist-excludes = [
5963 ' build*/*' ,
6064 ' build*/*/*' ,
6165 ' build*/*/*/*' ,
62- ' dist/*'
66+ ' build*/*/*/*/*' ,
67+ ' build*/*/*/*/*/*' ,
68+ ' build*/*/*/*/*/*/*' ,
69+ ' build*/*/*/*/*/*/*/*' ,
70+ ' build*/*/*/*/*/*/*/*/*' ,
71+ ' build*/*/*/*/*/*/*/*/*/*' ,
72+ ' build*/*/*/*/*/*/*/*/*/*/*' ,
73+ ' build*/*/*/*/*/*/*/*/*/*/*/*' ,
74+ ' build*/*/*/*/*/*/*/*/*/*/*/*/*' ,
75+ ' dist/*' ,
76+ ' dist/*/*'
6377]
0 commit comments