|
1 | 1 | [build-system]
|
2 |
| -requires = [ |
3 |
| - "setuptools", |
4 |
| - "wheel", |
5 |
| - "cmake>=3.12", |
| 2 | +requires = ["scikit-build-core>=0.10.7"] |
| 3 | +build-backend = "scikit_build_core.build" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "OpenTimelineIO" |
| 7 | +version = "0.18.0.dev1" |
| 8 | +description = "Editorial interchange format and API" |
| 9 | +authors = [ |
| 10 | + { name = "Contributors to the OpenTimelineIO project", email = "[email protected]"} |
| 11 | +] |
| 12 | +license = {file = "LICENSE.txt"} |
| 13 | +keywords = ["film", "tv", "editing", "editorial", "edit", "non-linear", "edl", "time"] |
| 14 | +classifiers = [ |
| 15 | + "Development Status :: 4 - Beta", |
| 16 | + "Topic :: Multimedia :: Graphics", |
| 17 | + "Topic :: Multimedia :: Video", |
| 18 | + "Topic :: Multimedia :: Video :: Display", |
| 19 | + "Topic :: Multimedia :: Video :: Non-Linear Editor", |
| 20 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 21 | + "License :: OSI Approved :: Apache Software License", |
| 22 | + "Programming Language :: Python :: 3", |
| 23 | + "Programming Language :: Python :: 3.7", |
| 24 | + "Programming Language :: Python :: 3.8", |
| 25 | + "Programming Language :: Python :: 3.9", |
| 26 | + "Programming Language :: Python :: 3.10", |
| 27 | + "Programming Language :: Python :: 3.11", |
| 28 | + "Operating System :: OS Independent", |
| 29 | + "Natural Language :: English", |
| 30 | +] |
| 31 | + |
| 32 | +# Disallow 3.9.0 because of https://github.com/python/cpython/pull/22670 |
| 33 | +requires-python = ">=3.7, !=3.9.0" |
| 34 | + |
| 35 | +dependencies = [ |
| 36 | + 'importlib_metadata>=1.4; python_version < "3.8"' |
| 37 | +] |
| 38 | + |
| 39 | +[project.urls] |
| 40 | +Documentation = "https://opentimelineio.readthedocs.io" |
| 41 | +Homepage = "https://opentimeline.io" |
| 42 | +Issues = "https://github.com/AcademySoftwareFoundation/OpenTimelineIO/issues" |
| 43 | +Source = "https://github.com/AcademySoftwareFoundation/OpenTimelineIO" |
| 44 | + |
| 45 | +[project.scripts] |
| 46 | +otiocat = "opentimelineio.console.otiocat:main" |
| 47 | +otioconvert = "opentimelineio.console.otioconvert:main" |
| 48 | +otiopluginfo = "opentimelineio.console.otiopluginfo:main" |
| 49 | +otiostat = "opentimelineio.console.otiostat:main" |
| 50 | +otiotool = "opentimelineio.console.otiotool:main" |
| 51 | +otioview = "opentimelineview.console:main" |
| 52 | +otioautogen_serialized_schema_docs = "opentimelineio.console.autogen_serialized_datamodel:main" |
| 53 | + |
| 54 | +[project.optional-dependencies] |
| 55 | +dev = [ |
| 56 | + "check-manifest", |
| 57 | + "flake8>=3.5", |
| 58 | + "coverage>=4.5", |
| 59 | + "urllib3>=1.24.3", |
| 60 | +] |
| 61 | +view = [ |
| 62 | + 'PySide2~=5.11; platform.machine=="x86_64"', |
| 63 | + 'PySide6~=6.2; platform.machine=="aarch64"', |
6 | 64 | ]
|
7 |
| -build-backend = "setuptools.build_meta" |
| 65 | + |
| 66 | +[tool.scikit-build] |
| 67 | +cmake.version = "CMakeLists.txt" |
| 68 | + |
| 69 | +cmake.build-type = "Release" |
| 70 | + |
| 71 | +logging.level = "DEBUG" |
| 72 | +build.verbose = true |
| 73 | + |
| 74 | +sdist.include = ["src/opentimelineio/adapters/builtin_adapters.plugin_manifest.json"] |
| 75 | + |
| 76 | +wheel.packages = ["src/py-opentimelineio/opentimelineio", "src/opentimelineview"] |
| 77 | +wheel.install-dir = "opentimelineio" |
| 78 | + |
| 79 | +build-dir = "build" |
| 80 | + |
| 81 | +[[tool.scikit-build.generate]] |
| 82 | +path = "opentimelineio/__init__.py" |
| 83 | +template-path = "src/py-opentimelineio/opentimelineio/__init__.py" |
| 84 | + |
| 85 | +[[tool.scikit-build.generate]] |
| 86 | +path = "opentimelineview/__init__.py" |
| 87 | +template-path = "src/opentimelineview/__init__.py" |
| 88 | + |
| 89 | +[tool.scikit-build.cmake.define] |
| 90 | +OTIO_PYTHON_INSTALL = "ON" |
| 91 | +OTIO_CXX_INSTALL = "OFF" |
| 92 | +OTIO_SHARED_LIBS = "OFF" |
| 93 | +BUILD_TESTING = "OFF" |
| 94 | +OTIO_INSTALL_PYTHON_MODULES = "OFF" |
8 | 95 |
|
9 | 96 | [tool.cibuildwheel.linux]
|
10 | 97 | archs = ["x86_64", "aarch64"]
|
|
0 commit comments