slint/api/python/pyproject.toml
Simon Hausmann c46846b3cb
Switch Python tooling over from pipenv to uv (#7574)
It's faster and easier to use.
2025-02-09 12:09:23 +01:00

58 lines
1.8 KiB
TOML

# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
[build-system]
requires = ["maturin>=1,<2"]
build-backend = "maturin"
[project]
name = "slint"
version = "1.10.0a1"
requires-python = ">= 3.10"
authors = [
{name = "Slint Team", email = "info@slint.dev"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: MacOS X",
"Environment :: X11 Applications",
"Environment :: Win32 (MS Windows)",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Rust",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"License :: Other/Proprietary License",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: User Interfaces",
"Topic :: Software Development :: Widget Sets",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"maturin>=1.8.2",
]
[project.urls]
Homepage = "https://slint.dev"
Documentation = "https://slint.dev/docs"
Repository = "https://github.com/slint-ui/slint"
Changelog = "https://github.com/slint-ui/slint/blob/master/CHANGELOG.md"
Tracker = "https://github.com/slint-ui/slint/issues"
[project.optional-dependencies]
dev = ["pytest"]
[dependency-groups]
dev = [
"nox>=2024.10.9",
"pdoc>=15.0.1",
"pytest>=8.3.4",
]
[tool.uv]
# Rebuild package when any rust files change
cache-keys = [{file = "pyproject.toml"}, {file = "Cargo.toml"}, {file = "**/*.rs"}]
# Uncomment to build rust code in development mode
# config-settings = { build-args = '--profile=dev' }