Skip to content

Commit

Permalink
Merge pull request #76 from cclauss/setup.py-to-pyproject.toml
Browse files Browse the repository at this point in the history
PEP 621: Migrate from setup.py to pyproject.toml
  • Loading branch information
cclauss authored Oct 25, 2024
2 parents bddc0b9 + 94906a8 commit eea3abb
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 30 deletions.
44 changes: 33 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,37 @@
[build-system]
build-backend = "setuptools.build_meta"

requires = [ "setuptools>=61.2" ]

[project]
name = "pyfluidsynth"
version = "1.3.4"
description = "Python bindings for FluidSynth, a MIDI synthesizer that uses SoundFont instruments"
readme.content-type = "text/markdown"
readme.file = "README.md"
authors = [ { name = "Nathan Whitehead", email = "[email protected]" } ]
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
# "Programming Language :: Python :: 3.13",
]
dependencies = [ "numpy" ]

urls.Homepage = "https://github.com/nwhitehead/pyfluidsynth"

[tool.setuptools]
py-modules = [ "fluidsynth" ]
include-package-data = false

[tool.ruff]
line-length = 123
target-version = "py38"

[tool.ruff.lint]
select = [
line-length = 123
lint.select = [
"AIR", # Airflow
"ASYNC", # flake8-async
"B", # flake8-bugbear
Expand Down Expand Up @@ -63,11 +91,5 @@ select = [
# "TRY", # tryceratops
# "W", # pycodestyle
]

[tool.ruff.lint.per-file-ignores]
"__init__.py" = [
"E402",
]
"test/*" = [
"S101",
]
lint.per-file-ignores."__init__.py" = [ "E402" ]
lint.per-file-ignores."test/*" = [ "S101" ]
19 changes: 0 additions & 19 deletions setup.py

This file was deleted.

0 comments on commit eea3abb

Please sign in to comment.