Files
pyeclib/pyproject.toml
Tim Burke 37e19268e8 Move to pyproject.toml
Tested to work with at least pip and build as frontends:

    pip wheel .
    python -m build .

If liberasurecode is installed to a non-standard location, you may
need additional arguments like

    <build command> --config-setting="--global-option=build_ext" \
      --config-setting="--global-option=-I${HOME}/.local/include" \
      --config-setting="--global-option=-L${HOME}/.local/lib"

Or, export appropriate CFLAGS/LDFLAGS values.

Signed-off-by: Tim Burke <tim.burke@gmail.com>
Change-Id: I3c1d88fd3225f27bde4b08b1b848bd66e6d597ae
2025-07-02 14:16:47 -07:00

46 lines
1.5 KiB
TOML

[build-system]
requires = ["setuptools>=74.1"]
build-backend = "setuptools.build_meta"
[project]
name = "pyeclib"
version = "1.6.4"
authors = [
{name = "Kevin Greenan", email = "kmgreen2@gmail.com"},
]
maintainers = [
{name = "Tim Burke", email = "tim.burke@gmail.com"},
{name = "Kevin Greenan", email = "kmgreen2@gmail.com"},
{name = "Tushar Gohad", email = "tusharsg@gmail.com"},
]
description = "This library provides a simple Python interface for implementing erasure codes. To obtain the best possible performance, the underlying erasure code algorithms are written in C."
readme = "README.rst"
requires-python = ">=3.10"
license = {text = "BSD-2-Clause"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
]
[project.urls]
Homepage = "https://opendev.org/openstack/pyeclib"
"Bug Tracker" = "https://bugs.launchpad.net/pyeclib"
"Release Notes" = "https://opendev.org/openstack/pyeclib/src/branch/master/ChangeLog"
[tool.setuptools]
packages = ["pyeclib"]
platforms = ["Linux"]
[[tool.setuptools.ext-modules]]
name = "pyeclib_c"
sources = ["src/c/pyeclib_c/pyeclib_c.c"]
include-dirs = ["src/c/pyeclib_c"]
libraries = ["erasurecode"]
py-limited-api = true