1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
# Copyright (c) 2024 Graphcore Ltd. All rights reserved.
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ['gfloat']
package-dir = {"" = "src"}
[project]
name = "gfloat"
version = "0.3" # Set version in package.sh
authors = [
{name = "Andrew Fitzgibbon", email = "awf@fitzgibbon.ie"},
]
description = "Generic floating point handling in Python"
readme = "README.md"
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Development Status :: 3 - Alpha",
]
requires-python = ">=3.8.1"
dynamic = ["dependencies", "optional-dependencies"]
[tool.setuptools.dynamic]
# version = {attr = "gfloat.VERSION"} # Wow: https://github.com/pypa/setuptools/issues/1724
dependencies = {file = ["requirements.txt"]}
optional-dependencies = {dev = {file = ["requirements-dev.txt"]}}
[tool.black]
line-length = 88
fast = true
[tool.mypy]
[[tool.mypy.overrides]]
module = "mx.*"
ignore_missing_imports = true
|