bindings/python/pyproject.toml (46 lines of code) (raw):
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
[build-system]
build-backend = "maturin"
requires = ["maturin>=1.0,<2.0"]
[project]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
name = "pyiceberg-core"
readme = "project-description.md"
requires-python = "~=3.9"
version = "0.4.0"
[tool.maturin]
features = ["pyo3/extension-module"]
module-name = "pyiceberg_core.pyiceberg_core_rust"
python-source = "python"
[tool.ruff.lint]
ignore = ["F403", "F405"]
[tool.hatch.envs.dev]
dependencies = ["maturin>=1.0,<2.0", "pytest>=8.3.2", "pyarrow>=17.0.0"]
[tool.hatch.envs.dev.scripts]
build = "maturin build --out dist --sdist"
develop = "maturin develop"
test = "pytest"