diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..24ee5b1 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.13 diff --git a/pyproject.toml b/pyproject.toml index 913e678..5fd129a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,15 +1,16 @@ -[tool.poetry] +[project] name = "pycmx" version = "1.5.0" description = "Python CMX 3600 Edit Decision List Parser" -authors = ["Jamie Hardt "] -license = "MIT" +authors = [{name = "Jamie Hardt", email= ""}] +license-files = ["LICENSE"] readme = "README.md" keywords = [ 'parser', 'film', 'broadcast' ] +requires-python = '>3.8' classifiers = [ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: MIT License', @@ -23,18 +24,22 @@ classifiers = [ 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13' ] -homepage = "https://github.com/iluvcapra/pycmx" -documentation = "https://pycmx.readthedocs.io/" -repository = "https://github.com/iluvcapra/pycmx.git" -urls.Tracker = "https://github.com/iluvcapra/pycmx/issues" -[tool.poetry.extras] +[project.optional-dependencies] +doc = [ + 'sphinx >= 5.3.0', + 'sphinx_rtd_theme >= 1.1.1' +] + +[project.urls] +Homepage = "https://github.com/iluvcapra/pycmx" +Documentation = "https://pycmx.readthedocs.io/" +Repository = "https://github.com/iluvcapra/pycmx.git" +Tracker = "https://github.com/iluvcapra/pycmx/issues" + +[dependency-groups] doc = ['sphinx', 'sphinx_rtd_theme'] -[tool.poetry.dependencies] -python = "^3.8" -sphinx = { version='>= 5.3.0', optional=true} -sphinx_rtd_theme = {version ='>= 1.1.1', optional=true} [tool.pyright] typeCheckingMode = "basic" @@ -52,5 +57,5 @@ disable = [ ] [build-system] -requires = ["poetry-core"] -build-backend = "poetry.core.masonry.api" +requires = ["uv_build>=0.9.18,<0.10.0"] +build-backend = "uv_build" diff --git a/pycmx/__init__.py b/src/pycmx/__init__.py similarity index 100% rename from pycmx/__init__.py rename to src/pycmx/__init__.py diff --git a/pycmx/cdl.py b/src/pycmx/cdl.py similarity index 100% rename from pycmx/cdl.py rename to src/pycmx/cdl.py diff --git a/pycmx/channel_map.py b/src/pycmx/channel_map.py similarity index 100% rename from pycmx/channel_map.py rename to src/pycmx/channel_map.py diff --git a/pycmx/edit.py b/src/pycmx/edit.py similarity index 100% rename from pycmx/edit.py rename to src/pycmx/edit.py diff --git a/pycmx/edit_list.py b/src/pycmx/edit_list.py similarity index 100% rename from pycmx/edit_list.py rename to src/pycmx/edit_list.py diff --git a/pycmx/event.py b/src/pycmx/event.py similarity index 100% rename from pycmx/event.py rename to src/pycmx/event.py diff --git a/pycmx/parse_cmx_events.py b/src/pycmx/parse_cmx_events.py similarity index 100% rename from pycmx/parse_cmx_events.py rename to src/pycmx/parse_cmx_events.py diff --git a/pycmx/parse_cmx_statements.py b/src/pycmx/parse_cmx_statements.py similarity index 100% rename from pycmx/parse_cmx_statements.py rename to src/pycmx/parse_cmx_statements.py diff --git a/pycmx/statements.py b/src/pycmx/statements.py similarity index 100% rename from pycmx/statements.py rename to src/pycmx/statements.py diff --git a/pycmx/transition.py b/src/pycmx/transition.py similarity index 100% rename from pycmx/transition.py rename to src/pycmx/transition.py diff --git a/pycmx/util.py b/src/pycmx/util.py similarity index 100% rename from pycmx/util.py rename to src/pycmx/util.py