Skip to content

Commit

Permalink
switch from setup.py to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjnixon committed Jan 9, 2024
1 parent 1982712 commit cc03db6
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 62 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include README.md
include CHANGELOG.md
include ear/core/data/README.md
include LICENSE
include doc/layout_file.md
include tox.ini

graft ear
49 changes: 49 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "ear"
description = 'EBU ADM Renderer'
version = '2.1.0'
authors = [
{name = "EBU", email = "[email protected]"},
]
license = {file = "LICENSE"} # BSD-3-Clause-Clear
requires-python = ">=3.7"
dynamic = ["readme"]

dependencies = [
'numpy~=1.14',
'scipy~=1.0',
'attrs>=22.2',
'PyYAML~=6.0',
'lxml~=4.4',
'six~=1.11',
'multipledispatch~=1.0',
# required until 2024-10 when python 3.9 will be the minimum supported version
'importlib_resources>=5.0',
]

[project.optional-dependencies]
test = [
'pytest~=6.2',
'pytest-datafiles~=2.0',
'pytest-cov~=3.0',
'soundfile~=0.10',
]
dev = [
'flake8~=3.5',
'flake8-print~=3.1',
'flake8-string-format~=0.2',
]

[project.scripts]
ear-render = "ear.cmdline.render_file:main"
ear-utils = "ear.cmdline.utils:main"

[tool.setuptools.packages.find]
include = ["ear", "ear.*"]

[tool.setuptools.dynamic]
readme = {file = ["README.md", "CHANGELOG.md"], content-type = "text/markdown"}
61 changes: 0 additions & 61 deletions setup.py

This file was deleted.

0 comments on commit cc03db6

Please sign in to comment.