Skip to content

Commit

Permalink
Replace setup.py with pyproject.toml
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Jan 17, 2024
1 parent 544f7e7 commit 4193e4a
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 99 deletions.
62 changes: 62 additions & 0 deletions bindings/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
[build-system]
requires = ["setuptools>=40.6.0"]
build-backend = "setuptools.build_meta"


[project]
name = "genalyzer"
version = "0.0.1"
dynamic = ["readme"]
description = "Python bindings for genalyzer converter analysis library"
license = {text = "ADI BSD"}
classifiers = [
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules"]
requires-python = ">=3.7"
authors = [
{name = "Peter Derounian", email="[email protected]"},
{name = "Srikanth Pagadarai", email="[email protected]"},
{name = "Travis Collins", email="[email protected]"},
]
maintainers = [
{name = "Srikanth Pagadarai", email="[email protected]"},
{name = "Travis Collins", email="[email protected]"},
{name = "Analog Devices, Inc"}
]
dependencies = [
'numpy >= 1.20',
]

[tool.setuptools.dynamic]
readme = {file = "README.md", content-type = "text/markdown"}

[tool.setuptools.packages.find]
where = ["."]
include = ["genalyzer"]
exclude = ["tests*"]
namespaces = true

[project.optional-dependencies]
tools = ["scipy"]

[project.urls]
homepage = "https://analogdevicesinc.github.io/genalyzer/"
documentation = "https://analogdevicesinc.github.io/genalyzer/"
repository = "https://github/analogdevicesinc/genalyzer"

[tool.isort]
multi_line_output=3
include_trailing_comma="True"
force_grid_wrap=0
use_parentheses="True"
line_length=88

[tool.mypy]
ignore_missing_imports="true"
99 changes: 0 additions & 99 deletions bindings/python/setup.py.cmakein

This file was deleted.

0 comments on commit 4193e4a

Please sign in to comment.