Skip to content

Commit

Permalink
Convert setup.py to pyproject.toml
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Reid <[email protected]>
  • Loading branch information
markreidvfx committed Feb 4, 2024
1 parent d47549e commit 0849fc2
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 70 deletions.
7 changes: 0 additions & 7 deletions setup.cfg → .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,3 @@ max-line-length = 88
ignore =
W503
W504

[tool:pytest]
addopts = --cov=otio_aaf_adapter

[bdist_wheel]
# Let a wheel be compatible with both Python 2 and 3
universal=1
54 changes: 54 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright Contributors to the OpenTimelineIO project
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "otio-aaf-adapter"
version = "1.1.0.dev1"
description = "OpenTimelineIO AAF Adapter"
authors = [
{ name="Contributors to the OpenTimelineIO project", email="[email protected]" },
]
license = { file="LICENSE.txt" }
readme = "README.md"
requires-python = ">=3.7"
dependencies = [
"opentimelineio >= 0.17.0.dev1",
"pyaaf2>=1.4.0"
]

classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Multimedia :: Video",
"Topic :: Multimedia :: Video :: Display",
"Topic :: Multimedia :: Video :: Non-Linear Editor",
"Topic :: Software Development :: Libraries :: Python Modules",
"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",
"Operating System :: OS Independent",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English"
]
keywords = ["film", "tv", "editing", "editorial", "edit", "non-linear", "aaf", "time", "otio", "otio-adapter"]

[project.urls]
Homepage = "https://github.com/OpenTimelineIO/otio-aaf-adapter"
Tracker = "https://github.com/OpenTimelineIO/otio-aaf-adapter/issues"

[project.entry-points."opentimelineio.plugins"]
otio_aaf_adapter = "otio_aaf_adapter"

[tool.hatch.build.targets.sdist]
# Ensure the sdist includes a setup.py for older pip versions
support-legacy = true
exclude = [".github"]

[tool.pytest.ini_options]
addopts = "--cov=otio_aaf_adapter"
63 changes: 0 additions & 63 deletions setup.py

This file was deleted.

0 comments on commit 0849fc2

Please sign in to comment.